From b7a5f44b7c5a60afac2ea9118c4648e78a56d6ee Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Mon, 20 Jul 2026 17:23:23 +0300 Subject: [PATCH] fix: round meta typography line-heights to whole pixels to stop icon jitter --- packages/ui/src/styles/typography.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ui/src/styles/typography.css b/packages/ui/src/styles/typography.css index c39652f1..a4673076 100644 --- a/packages/ui/src/styles/typography.css +++ b/packages/ui/src/styles/typography.css @@ -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); } /*