From 7e3f513a355b6da6298d7089e548cd3943346d9e Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 12 Oct 2023 00:32:18 +0100 Subject: [PATCH] Update _topbar.scss for blockScroll feature --- assets/styles/layout/_topbar.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/styles/layout/_topbar.scss b/assets/styles/layout/_topbar.scss index fd5755f1a..94495de3c 100644 --- a/assets/styles/layout/_topbar.scss +++ b/assets/styles/layout/_topbar.scss @@ -2,11 +2,11 @@ position: fixed; top: 0; left: 0; - width: 100%; + width: calc(100% - var(--scrollbar-width, 0px)); z-index: 1100; transition: background-color 1s; border-bottom: 1px solid var(--surface-border); - + &.layout-topbar-sticky { backdrop-filter: blur(8px); } @@ -61,4 +61,4 @@ background-color: rgba(0,0,0,.3); } } -} \ No newline at end of file +}