mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed account menu spacing issue (#1693)
* Fixed spacing issue with account menu by changing verticalPosition of the Ember dropdown component to 'above' and adjusted the top attribute as needed.
This commit is contained in:
parent
36c72cd93d
commit
bf6e37f2dd
@ -125,7 +125,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="gh-nav-bottom">
|
||||
<GhBasicDropdown @horizontalPosition="left" @verticalPosition="top" @calculatePosition={{this.userDropdownPosition}} as |dropdown|>
|
||||
<GhBasicDropdown @horizontalPosition="left" @verticalPosition="above" @calculatePosition={{this.userDropdownPosition}} as |dropdown|>
|
||||
<dropdown.Trigger class="flex items-center outline-0 pointer space-between pa2 pl4 pr3">
|
||||
<div class="flex-auto flex items-center">
|
||||
<div class="gh-user-avatar relative" style={{background-image-style this.session.user.profileImageUrl}}>
|
||||
|
@ -116,7 +116,7 @@
|
||||
}
|
||||
|
||||
.gh-nav-menu-dropdown .dropdown-menu {
|
||||
top: -396px;
|
||||
top: -344px;
|
||||
left: 20px;
|
||||
margin: 10px 0 0;
|
||||
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 0 3px rgba(0, 0, 0, 0.08), 0 18px 45px -5px rgba(0, 0, 0, 0.15);
|
||||
|
Loading…
Reference in New Issue
Block a user