Skip to content

Commit 26e7b7b

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
chore(ui): clarify the xs line-height comment
1 parent 626b19b commit 26e7b7b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎apps/sim/app/_styles/globals.css‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,9 @@
9797

9898
--text-micro: 10px;
9999
/**
100-
* `xs` is the one size here that also exists in Tailwind's own scale, so it
101-
* inherits `--text-xs--line-height` unless that is overridden too. v4's ratio
102-
* (4/3) against an 11px size yields 14.67px, where v3 resolved 16.5px; the
103-
* paired value keeps the leading where it was.
100+
* Tailwind pairs `xs` with a default line-height ratio. Its v4 ratio (4/3)
101+
* against our 11px size yields 14.67px; the explicit 1.5 preserves the
102+
* existing 16.5px leading.
104103
*/
105104
--text-xs: 11px;
106105
--text-xs--line-height: 1.5;

0 commit comments

Comments
 (0)