Skip to content

Commit c4257b6

Browse files
jorgefilipecostat-hamano
authored andcommitted
Update: Use a bigger max fit text font size. (#73067)
Co-authored-by: jorgefilipecosta <[email protected]> Co-authored-by: t-hamano <[email protected]>
1 parent 3664349 commit c4257b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-editor/src/utils/fit-text-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function findOptimalFontSize( textElement, applyFontSize ) {
1414
const alreadyHasScrollableHeight =
1515
textElement.scrollHeight > textElement.clientHeight;
1616
let minSize = 5;
17-
let maxSize = 600;
17+
let maxSize = 2400;
1818
let bestSize = minSize;
1919

2020
while ( minSize <= maxSize ) {

0 commit comments

Comments
 (0)