From 98b12e2bbabef6ab5fcf4928a3f7aa4a10974371 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 21 Apr 2025 17:46:44 +0300 Subject: [PATCH] Make rem units scale with the font size slider --- public/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index 29e8fa65e..3f14ed609 100644 --- a/public/style.css +++ b/public/style.css @@ -134,6 +134,7 @@ html { -webkit-transform: translateZ(0); -webkit-backface-visibility: hidden; -webkit-perspective: 1000; + font-size: var(--mainFontSize); } body { @@ -150,14 +151,13 @@ body { background-attachment: fixed; background-size: cover; font-family: var(--mainFontFamily); - font-size: var(--mainFontSize); color: var(--SmartThemeBodyColor); overflow: hidden; color-scheme: only light; } ::-webkit-scrollbar { - width: 0.8em; + width: 0.75rem; scrollbar-gutter: stable; }