Make rem units scale with the font size slider

This commit is contained in:
Cohee
2025-04-21 17:46:44 +03:00
parent 320b188d47
commit 98b12e2bba

View File

@@ -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;
}