We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f982149 commit fedecb7Copy full SHA for fedecb7
src/blocks/text/index.js
@@ -145,7 +145,8 @@ const text = function (el, config) {
145
146
if (parseInt(mbox.width) < parseInt(bbox.width) ||
147
parseInt(mbox.height) < parseInt(bbox.height)) {
148
- fsize -= 0.05
+ const vf = funit === 'px' ? 0.5 : 0.05
149
+ fsize -= vf
150
return setTimeout(compute)
151
} else {
152
setTimeout(() => {
src/blocks/text/style.css
@@ -270,10 +270,10 @@
270
background: var(--textAccent);
271
color: var(--textColor);
272
}
273
-.uppercase{
+.uppercase span{
274
text-transform: uppercase;
275
276
-.underline{
+.underline span{
277
text-decoration: underline;
278
text-decoration-color: var(--textColor);
279
0 commit comments