Skip to content

Commit

Permalink
fix(NcHeaderMenu): use --header-height instead of const
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>

[skip ci]
  • Loading branch information
ShGKme authored and backportbot[bot] committed Aug 19, 2024
1 parent 2c13ea8 commit 22b9c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcHeaderMenu/NcHeaderMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ $externalMargin: 8px;
&__wrapper {
position: fixed;
z-index: 2000;
top: 50px;
top: var(--header-height);
inset-inline-end: 0;
box-sizing: border-box;
margin: 0 $externalMargin;
Expand Down Expand Up @@ -388,7 +388,7 @@ $externalMargin: 8px;
width: 350px;
max-width: calc(100vw - 2 * $externalMargin);
min-height: calc(var(--default-clickable-area) * 1.5);
max-height: calc(100vh - 50px * 2);
max-height: calc(100vh - var(--header-height) * 2);
:deep(.empty-content) {
margin: 12vh 10px;
}
Expand Down

0 comments on commit 22b9c20

Please sign in to comment.