Skip to content

Commit f6c9e49

Browse files
Update style.css
1 parent ec59a69 commit f6c9e49

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

style.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ body {
2222
font-size: clamp(1.5rem, 8vw, 4rem);
2323
letter-spacing: 0.25rem;
2424
max-width: 100%;
25-
word-break: break-word;
2625
line-height: 1.2;
2726
padding: 0.5rem;
28-
text-align: center;
27+
gap: 0.5rem; /* spacing between wrapped lines */
28+
}
29+
30+
/* Word wrapper */
31+
.word {
32+
display: inline-flex;
33+
flex-wrap: nowrap;
34+
white-space: nowrap;
35+
margin: 0 clamp(0.3rem, 2vw, 1rem);
36+
max-width: 100%;
2937
}
3038

3139
/* Individual characters */
@@ -44,9 +52,3 @@ body {
4452
padding: 0 0.5rem;
4553
}
4654
}
47-
48-
.word {
49-
display: inline-block;
50-
white-space: nowrap;
51-
margin: 0 clamp(0.5rem, 2vw, 1.5rem);
52-
}

0 commit comments

Comments
 (0)