Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
🐛 fix jumping "Invite User" button when modal is opened
Browse files Browse the repository at this point in the history
closes TryGhost/Ghost#7890
- moved the modal outside of the `<header>` tag to avoid triggering unexpected flexbox justification
  • Loading branch information
André Borud authored and kevinansfield committed Jan 31, 2017
1 parent d9e54c7 commit 98f06c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/templates/team/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98f06c7

Please sign in to comment.