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 5bb98b2d71
commit b6f4645cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);