fix: round meta typography line-heights to whole pixels to stop icon jitter
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user