Skip to content

Commit

Permalink
fix: fix keyboard input on chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Dec 6, 2023
1 parent 5623fed commit 369fcc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/mathfield.less
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
/* Need this to prevent iOS Safari from auto-zooming */
font-size: 1em;
font-family: KaTeX_Main;
line-height: 0;
line-height: .5; /* On Chromium, if this is 0, no keyboard events are received */
}

[part="placeholder"] {
Expand Down

0 comments on commit 369fcc4

Please sign in to comment.