Make rem units scale with the font size slider

98b12e2bbabef6ab5fcf4928a3f7aa4a10974371

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/style.css+2 -2
@@ -134,6 +134,7 @@ html {
134134 -webkit-transform: translateZ(0);
135135 -webkit-backface-visibility: hidden;
136136 -webkit-perspective: 1000;
137+ font-size: var(--mainFontSize);
137138}
138139
139140body {
@@ -150,14 +151,13 @@ body {
150151 background-attachment: fixed;
151152 background-size: cover;
152153 font-family: var(--mainFontFamily);
153- font-size: var(--mainFontSize);
154154 color: var(--SmartThemeBodyColor);
155155 overflow: hidden;
156156 color-scheme: only light;
157157}
158158
159159::-webkit-scrollbar {
160160 width: 0.8em75rem;
161161 scrollbar-gutter: stable;
162162}
163163