Skip to content

Commit

Permalink
Merge pull request #8945 from QuantuM410/issue/#8943
Browse files Browse the repository at this point in the history
Update: Sidebar height and top margin and remove bg mask gradient
  • Loading branch information
mekarpeles authored Mar 25, 2024
2 parents 1f452e9 + 75f3fdc commit a2f111c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions static/css/components/header-bar.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,12 @@
}

.app-drawer {
@topHeight: 50px;
position: fixed;
width: 300px;
max-width: 100vw;
right: 0;
top: @topHeight;
height: calc(100% - @topHeight - 25px);
top: 0;
height: 100vh;
z-index: @z-index-level-2;
overflow-y: auto;
overscroll-behavior: contain;
Expand Down Expand Up @@ -259,14 +258,14 @@

.mask-menu {
position: fixed;
top: 75px;
top: 0;
// stylelint-disable declaration-block-no-redundant-longhand-properties
left: 0;
right: 0;
opacity: 0;
bottom: 0;
// stylelint-enable declaration-block-no-redundant-longhand-properties
background: linear-gradient(to bottom, transparent 0, @black);
background: rgba(0, 0, 0, .5);
z-index: @z-index-level-1;
visibility: hidden;
}
Expand Down

0 comments on commit a2f111c

Please sign in to comment.