style: refactor layout and replace fixed spacing with font-relative units

This commit is contained in:
Erzbir
2025-08-05 14:50:52 +08:00
parent 8e3cd1ae8d
commit 6e0c6973f2
15 changed files with 287 additions and 233 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
.icon-pixel,
.icon-regular {
display: none;
width: 1.5rem;
height: 1.5rem;
width: calc(var(--font-theme-size) * 1.5);
height: calc(var(--font-theme-size) * 1.5);
}
html[pixel_style='false'] .icon-regular {