mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
parent
688e03fc42
commit
372479bada
@ -7,6 +7,17 @@
|
|||||||
label="post.quote_reply"}}
|
label="post.quote_reply"}}
|
||||||
{{/if}}
|
{{/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}}
|
{{#if quoteSharingEnabled}}
|
||||||
<span class="quote-sharing">
|
<span class="quote-sharing">
|
||||||
{{#if quoteSharingShowLabel}}
|
{{#if quoteSharingShowLabel}}
|
||||||
@ -26,20 +37,8 @@
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
{{plugin-outlet name="quote-share-buttons-after" tagName=""}}
|
{{plugin-outlet name="quote-share-buttons-after" tagName=""}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/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>
|
||||||
|
|
||||||
<div class="extra">
|
<div class="extra">
|
||||||
|
Loading…
Reference in New Issue
Block a user