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 {
|
||||
font-size: var(--text-ui-header);
|
||||
line-height: 1.45;
|
||||
line-height: round(1.45em, 1px);
|
||||
}
|
||||
|
||||
.typography-ui-label {
|
||||
font-size: var(--text-ui-label);
|
||||
line-height: 1.45;
|
||||
line-height: round(1.45em, 1px);
|
||||
}
|
||||
|
||||
.typography-meta {
|
||||
font-size: var(--text-meta);
|
||||
line-height: 1.45;
|
||||
line-height: round(1.45em, 1px);
|
||||
}
|
||||
|
||||
.typography-micro {
|
||||
font-size: var(--text-micro);
|
||||
line-height: 1.45;
|
||||
line-height: round(1.45em, 1px);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user