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
+5 -1
View File
@@ -188,7 +188,11 @@
GROUPS.forEach(function (g, gi) {
var groupWords = WORDS.slice(g.wordStart, g.wordEnd + 1);
var groupText = groupWords.map(function (w) { return w.text; }).join(" ");
var groupText = groupWords
.map(function (w) {
return w.text;
})
.join(" ");
var fontSize = fitFontSize(groupText, 100, "900", "'Nunito', sans-serif", 1760);
var grp = document.createElement("div");
grp.className = "gr-group";