Skip to content

Commit

Permalink
Merge pull request #33992 from nextcloud/setting-menu-fix-height
Browse files Browse the repository at this point in the history
Fix setting menu height
  • Loading branch information
PVince81 authored Sep 12, 2022
2 parents 52d962b + b155adb commit b9eef6f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
7 changes: 4 additions & 3 deletions core/css/header.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/header.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

@mixin header-menu-height() {
min-height: calc(44px * 1.5); // show at least 1.5 entries
max-height: calc(100vh - #{variables.$header-height} * 2);
max-height: calc(100vh - #{variables.$header-height} - 8px);
}

#header {
Expand All @@ -78,9 +78,10 @@
position: absolute;
max-width: 350px;
@include header-menu-height();
right: 5px; // relative to parent
right: 8px; // relative to parent
top: variables.$header-height;
margin: 0;
overflow-y: scroll;

&:not(.popovermenu) {
display: none;
Expand Down
7 changes: 4 additions & 3 deletions core/css/server.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9eef6f

Please sign in to comment.