fix(hero): keep the word spacing in the welcome heading
The word-split helper joined spans with an empty string, so the sentences ran
together ('...ที่อยากดูขอบคุณครับ'). Join with a space; each word still animates
on its own.
This commit is contained in:
1 parent
64d4a9e703
commit
e87e00896c
1 file changed
+1
-1
+1
-1
@@ -129,5 +129,5 @@ export function splitWordsHtml(text, escape, startDelay = 140, step = 85) {
|
||||
word,
|
||||
)}</span></span>`,
|
||||
)
|
||||
.join("");
|
||||
.join(" ");
|
||||
}
|
||||
Reference in new issue
Block a user