We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec59a69 commit f6c9e49Copy full SHA for f6c9e49
style.css
@@ -22,10 +22,18 @@ body {
22
font-size: clamp(1.5rem, 8vw, 4rem);
23
letter-spacing: 0.25rem;
24
max-width: 100%;
25
- word-break: break-word;
26
line-height: 1.2;
27
padding: 0.5rem;
28
- text-align: center;
+ gap: 0.5rem; /* spacing between wrapped lines */
+}
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%;
37
}
38
39
/* Individual characters */
@@ -44,9 +52,3 @@ body {
44
52
padding: 0 0.5rem;
45
53
46
54
47
-
48
-.word {
49
- display: inline-block;
50
- white-space: nowrap;
51
- margin: 0 clamp(0.5rem, 2vw, 1.5rem);
-}
0 commit comments