mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +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">
|
||||
<button class="btn btn-green" {{action "toggleInviteUserModal"}} >Invite People</button>
|
||||
</section>
|
||||
|
||||
{{#if showInviteUserModal}}
|
||||
{{gh-fullscreen-modal "invite-new-user"
|
||||
close=(action "toggleInviteUserModal")
|
||||
modifier="action"}}
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
</header>
|
||||
|
||||
{{#if showInviteUserModal}}
|
||||
{{gh-fullscreen-modal "invite-new-user"
|
||||
close=(action "toggleInviteUserModal")
|
||||
modifier="action"}}
|
||||
{{/if}}
|
||||
|
||||
{{#gh-infinite-scroll
|
||||
fetch="loadNextPage"
|
||||
isLoading=isLoading
|
||||
|
Loading…
Reference in New Issue
Block a user