Update _topbar.scss for blockScroll feature
parent
aafc35b932
commit
7e3f513a35
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue