Skip to content

Commit

Permalink
Fix size of header menus (#16057)
Browse files Browse the repository at this point in the history
Fix size of header menus
  • Loading branch information
skjnldsv committed Dec 7, 2019
2 parents b41112a + bef426e commit 2959487
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@
z-index: 2000;
position: absolute;
max-width: 350px;
max-height: $header-menu-entry-height * 7.5; // half entry
min-height: calc(44px * 1.5); // show at least 1.5 entries
max-height: calc(100vh - #{$header-height} * 2);
right: 5px; // relative to parent
top: $header-height;
margin: 0;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;

&:not(.popovermenu) {
Expand All @@ -113,7 +115,7 @@

/* Use by the apps menu and the settings right menu */
#apps > ul,
&.settings-menu > ul {
&.settings-menu {
li {
a {
display: inline-flex;
Expand Down Expand Up @@ -319,13 +321,6 @@ nav[role='navigation'] {
}
}

#apps {
max-height: inherit;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}

/* USER MENU -----------------------------------------------------------------*/
#settings {
display: inline-block;
Expand Down

0 comments on commit 2959487

Please sign in to comment.