Update _topbar.scss for blockScroll feature

pull/4598/head
mertsincan 2023-10-12 00:32:18 +01:00
parent aafc35b932
commit 7e3f513a35
1 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: calc(100% - var(--scrollbar-width, 0px));
z-index: 1100; z-index: 1100;
transition: background-color 1s; transition: background-color 1s;
border-bottom: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border);
&.layout-topbar-sticky { &.layout-topbar-sticky {
backdrop-filter: blur(8px); backdrop-filter: blur(8px);
} }
@ -61,4 +61,4 @@
background-color: rgba(0,0,0,.3); background-color: rgba(0,0,0,.3);
} }
} }
} }