fix: round meta typography line-heights to whole pixels to stop icon jitter

This commit is contained in:
Bohdan Triapitsyn
2026-07-20 17:23:23 +03:00
parent ca1cf9a3d1
commit b7a5f44b7c
+4 -4
View File
@@ -10,22 +10,22 @@
.typography-ui-header { .typography-ui-header {
font-size: var(--text-ui-header); font-size: var(--text-ui-header);
line-height: 1.45; line-height: round(1.45em, 1px);
} }
.typography-ui-label { .typography-ui-label {
font-size: var(--text-ui-label); font-size: var(--text-ui-label);
line-height: 1.45; line-height: round(1.45em, 1px);
} }
.typography-meta { .typography-meta {
font-size: var(--text-meta); font-size: var(--text-meta);
line-height: 1.45; line-height: round(1.45em, 1px);
} }
.typography-micro { .typography-micro {
font-size: var(--text-micro); font-size: var(--text-micro);
line-height: 1.45; line-height: round(1.45em, 1px);
} }
/* /*