style: format caption component HTML files

This commit is contained in:
Miguel Ángel
2026-05-17 17:12:25 -04:00
parent b725066fb5
commit ed5747a723
26 changed files with 178 additions and 36 deletions
@@ -171,7 +171,11 @@
GROUPS.forEach(function (g, gi) {
var groupWords = WORDS.slice(g.wordStart, g.wordEnd + 1);
var groupText = groupWords.map(function (w) { return w.text.toUpperCase(); }).join(" ");
var groupText = groupWords
.map(function (w) {
return w.text.toUpperCase();
})
.join(" ");
var fontSize = fitFontSize(groupText, 96, "900", "'Outfit', sans-serif", 1760);
var grp = document.createElement("div");
grp.className = "ne-group";