UX: move fast edit before sharing (#14429)

As sharing has some hover behavior, it was looking slightly clunky with fast edit changing position. Putting sharing at the last position will reduce this effect.
This commit is contained in:
Joffrey JAFFEUX 2021-09-23 15:56:00 +02:00 committed by GitHub
parent 688e03fc42
commit 372479bada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 12 deletions

View File

@ -7,6 +7,17 @@
label="post.quote_reply"}}
{{/if}}
{{#if siteSettings.enable_fast_edit}}
{{#if _canEditPost}}
{{d-button
icon="pencil-alt"
action=(action "_toggleFastEditForm")
label="post.quote_edit"
class="btn-flat quote-edit-label"
}}
{{/if}}
{{/if}}
{{#if quoteSharingEnabled}}
<span class="quote-sharing">
{{#if quoteSharingShowLabel}}
@ -26,20 +37,8 @@
{{/each}}
{{plugin-outlet name="quote-share-buttons-after" tagName=""}}
</span>
</span>
{{/if}}
{{#if siteSettings.enable_fast_edit}}
{{#if _canEditPost}}
{{d-button
icon="pencil-alt"
action=(action "_toggleFastEditForm")
label="post.quote_edit"
class="btn-flat quote-edit-label"
}}
{{/if}}
{{/if}}
</div>
<div class="extra">