mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
🐛 fix jumping "Invite User" button when modal is opened
closes TryGhost/Ghost#7890 - moved the modal outside of the `<header>` tag to avoid triggering unexpected flexbox justification
This commit is contained in:
parent
c374e8a343
commit
ca08a878d2
@ -6,15 +6,15 @@
|
|||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
<button class="btn btn-green" {{action "toggleInviteUserModal"}} >Invite People</button>
|
<button class="btn btn-green" {{action "toggleInviteUserModal"}} >Invite People</button>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{#if showInviteUserModal}}
|
|
||||||
{{gh-fullscreen-modal "invite-new-user"
|
|
||||||
close=(action "toggleInviteUserModal")
|
|
||||||
modifier="action"}}
|
|
||||||
{{/if}}
|
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{{#if showInviteUserModal}}
|
||||||
|
{{gh-fullscreen-modal "invite-new-user"
|
||||||
|
close=(action "toggleInviteUserModal")
|
||||||
|
modifier="action"}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#gh-infinite-scroll
|
{{#gh-infinite-scroll
|
||||||
fetch="loadNextPage"
|
fetch="loadNextPage"
|
||||||
isLoading=isLoading
|
isLoading=isLoading
|
||||||
|
Loading…
Reference in New Issue
Block a user