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:
Sanne de Vries 2020-09-01 12:44:50 +02:00 committed by GitHub
parent 36c72cd93d
commit bf6e37f2dd
2 changed files with 2 additions and 2 deletions

View File

@ -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}}>

View File

@ -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);