Skip to content

Commit

Permalink
Fixes wrong drawer position (#3902)
Browse files Browse the repository at this point in the history
  • Loading branch information
walmazacn authored Sep 12, 2024
1 parent 0d35789 commit 49c90f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@
<style lang="scss">
:global(.lui-breadcrumb) .drawer-dialog {
top: calc(#{$topNavHeight} + var(--luigi__breadcrumb--height));
top: calc(#{$combinedLayoutGap} + #{$topNavHeight} + var(--luigi__breadcrumb--height));
}
.drawer-dialog {
position: absolute;
top: $topNavHeight;
top: calc(#{$combinedLayoutGap} + #{$topNavHeight});
bottom: 0;
width: 25%;
z-index: 3;
Expand Down
1 change: 1 addition & 0 deletions core/src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $mobileMinWidth: 375px;
$desktopMinWidth: 600px;
$desktopMaxWidth: 900px;
$topNavHeight: var(--luigi__shellbar--height);
$combinedLayoutGap: 1rem;
$leftNavWidthCollapsed: 2.75rem;
$zindex-dialog-box: 1000;
$globalNavWidth: 69px;
Expand Down

0 comments on commit 49c90f1

Please sign in to comment.