Skip to content

Commit 8fcfe2f

Browse files
Snuffleupagusrousek
authored andcommitted
Prevent mobile devices from interfering with the textLayer-elements (issue 14243)
*This is a tentative patch, since I don't have the necessary hardware to test it.* See https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust, which is currently ignored in Firefox. It seems overall safer, and more future-proof, to simply add this to the *entire* `textLayer` rather than its individual elements.
1 parent 2afaefa commit 8fcfe2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/text_layer_builder.css

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
overflow: hidden;
2424
opacity: 0.2;
2525
line-height: 1;
26+
text-size-adjust: none;
2627
}
2728

2829
.textLayer span,

0 commit comments

Comments
 (0)