Skip to content

Commit 887e037

Browse files
authored
Merge pull request #32 from marko-js/design-updates
fix: improve features font sizing
2 parents 2c2cb3f + 91e578a commit 887e037

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/routes/_home/tags/home-features/home-features.style.module.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@
3131
font-size: 2rem;
3232
font-weight: 400;
3333
margin: 0.5rem 0;
34+
font-size: max(1.5rem, min(2rem, 7dvw));
3435
}
3536

3637
p {
37-
text-wrap: pretty;
38+
text-wrap: balance;
3839
font-size: max(0.75rem, min(1rem, 3.5dvw));
3940
max-width: 28ch;
4041
line-height: 1.5;
42+
@media (min-width: 64rem) {
43+
text-wrap: pretty;
44+
}
4145
}
4246
}
4347

0 commit comments

Comments
 (0)