Skip to content

Commit 6d02209

Browse files
committed
Update font and text-wrap styles in Hero.svelte
Added 'serif' as a fallback to the 'But Head' font and adjusted text-wrap properties for improved text rendering in the hero and page-title classes.
1 parent badb213 commit 6d02209

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pages/src/lib/Hero.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@
6868
font-size: clamp(3rem, 27vw, 450px);
6969
line-height: 0.8;
7070
letter-spacing: -0.02em;
71-
font-family: But Head;
71+
font-family:
72+
But Head,
73+
serif;
7274
text-align: center;
7375
margin: 0;
76+
text-wrap: nowrap;
7477
7578
& i {
7679
font-style: italic;
@@ -136,6 +139,7 @@
136139
.page-title {
137140
text-align: left;
138141
font-size: clamp(3rem, 40vw, 250px);
142+
text-wrap: auto;
139143
}
140144
141145
.gradient-1,

0 commit comments

Comments
 (0)