From 07ecb5a872f5bdcb785f4f7c00d24e2ad4016825 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 2 Apr 2024 13:29:01 +0300 Subject: [PATCH] Use correct variable --- assets/styles/layout/_news.scss | 2 +- assets/styles/layout/_responsive.scss | 2 +- assets/styles/layout/_topbar.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/styles/layout/_news.scss b/assets/styles/layout/_news.scss index e6f3cf87c..dad625747 100644 --- a/assets/styles/layout/_news.scss +++ b/assets/styles/layout/_news.scss @@ -12,7 +12,7 @@ display: flex; justify-content: space-between; align-items: center; - width: calc(100% - var(--scrollbar-width, 0px)); + width: calc(100% - var(--p-scrollbar-width, 0px)); height: 100%; } diff --git a/assets/styles/layout/_responsive.scss b/assets/styles/layout/_responsive.scss index 6bcc2ac2a..c63712e8f 100644 --- a/assets/styles/layout/_responsive.scss +++ b/assets/styles/layout/_responsive.scss @@ -120,7 +120,7 @@ .blocked-scroll { overflow: hidden; - padding-right: var(--scrollbar-width); + padding-right: var(--p-scrollbar-width); } } diff --git a/assets/styles/layout/_topbar.scss b/assets/styles/layout/_topbar.scss index bd939ad57..ffd4de04d 100644 --- a/assets/styles/layout/_topbar.scss +++ b/assets/styles/layout/_topbar.scss @@ -2,7 +2,7 @@ position: fixed; top: 0; left: 0; - width: calc(100% - var(--scrollbar-width, 0px)); + width: calc(100% - var(--p-scrollbar-width, 0px)); z-index: 1100; transition: background-color .5s, border-color .5s; border-bottom: 1px solid transparent;