Skip to content

Commit 9e77ffb

Browse files
fix: mobile Safari rendering issue (#478)
1 parent b5803c2 commit 9e77ffb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/verso/Verso/Code/Highlighted.lean‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,9 @@ def highlightingStyle : String := "
817817
display: inline-grid;
818818
grid-template-columns: 1fr;
819819
vertical-align: top;
820+
/* Without these, mobile Safari will start making font sizes inconsistent when its text size adjustment feature is triggered.*/
821+
-webkit-text-size-adjust: 100%;
822+
text-size-adjust: 100%;
820823
}
821824
822825
.hl.lean .tactic-toggle:checked ~ .tactic-state {

0 commit comments

Comments
 (0)