Skip to content

Commit 8cd2801

Browse files
committed
use clamp for typography
1 parent 03ef6c0 commit 8cd2801

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/styles/components/base.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,7 @@
7373
}
7474

7575
:root {
76-
font-size: clamp(
77-
14px,
78-
14px + (18 - 14) * ((100vw - 420px) / (1440 - 420)),
79-
18px
80-
);
76+
font-size: clamp(14px, 14px + (18 - 14) * ((100vw - 420px) / (1440 - 420)), 18px);
8177
}
8278

8379
body {

0 commit comments

Comments
 (0)