mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Make rem units scale with the font size slider
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user