mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +00:00
style: format caption component HTML files
This commit is contained in:
@@ -208,7 +208,11 @@
|
||||
grp.className = "gl-group";
|
||||
grp.id = "gl-grp-" + gi;
|
||||
|
||||
var groupText = groupWords.map(function (w) { return w.text.toUpperCase(); }).join(" ");
|
||||
var groupText = groupWords
|
||||
.map(function (w) {
|
||||
return w.text.toUpperCase();
|
||||
})
|
||||
.join(" ");
|
||||
var computedSize = fitFontSize(groupText, BASE_FONT, "700", "Space Grotesk", 1720);
|
||||
|
||||
groupWords.forEach(function (w, i) {
|
||||
|
||||
+5
-1
@@ -208,7 +208,11 @@
|
||||
grp.className = "gl-group";
|
||||
grp.id = "gl-grp-" + gi;
|
||||
|
||||
var groupText = groupWords.map(function (w) { return w.text.toUpperCase(); }).join(" ");
|
||||
var groupText = groupWords
|
||||
.map(function (w) {
|
||||
return w.text.toUpperCase();
|
||||
})
|
||||
.join(" ");
|
||||
var computedSize = fitFontSize(groupText, BASE_FONT, "700", "Space Grotesk", 1720);
|
||||
|
||||
groupWords.forEach(function (w, i) {
|
||||
|
||||
Reference in New Issue
Block a user