Skip to content

Commit 8c1b15d

Browse files
committed
fix: adjust line-height margin variables for consistency
1 parent 74419aa commit 8c1b15d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/nimiq-css/src/css/typography.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
&:where(h1 + *:not(:where(h1, h2, h3, h4))) {
9898
--margin-min-lh: 4.6667;
99-
--margin-max-lh: 5.0;
99+
--margin-max-lh: 5;
100100
margin-top: var(--nq-m-size);
101101
}
102102

@@ -396,7 +396,7 @@
396396
--font-size-min-em: 0.75;
397397
--font-size-max-em: 0.875;
398398
--margin-min-lh: 0.8333;
399-
--margin-max-lh: 1.0;
399+
--margin-max-lh: 1;
400400
margin-top: var(--nq-m-size);
401401
margin-bottom: var(--nq-m-size);
402402
padding: 20px 24px;
@@ -431,7 +431,7 @@
431431
}
432432

433433
table {
434-
--margin-min-lh: 1.0;
434+
--margin-min-lh: 1;
435435
--margin-max-lh: 1.3333;
436436
margin-bottom: var(--nq-m-size);
437437
margin-top: var(--nq-m-size);
@@ -488,7 +488,7 @@
488488

489489
hr {
490490
--margin-min-lh: 0.8333;
491-
--margin-max-lh: 1.0;
491+
--margin-max-lh: 1;
492492
margin: var(--nq-m-size) auto;
493493
width: 128px;
494494
border-color: rgb(var(--nq-neutral-500));

0 commit comments

Comments
 (0)