mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-24 07:45:57 +02:00
Android: disable WebView text-size-adjust font-boosting so the editor font-size setting applies (#100)
This commit is contained in:
@@ -509,6 +509,10 @@ html,
|
|||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
/* Stop the Android WebView from auto-scaling ("boosting") text, which ignores our
|
||||||
|
CSS font-size and makes the font-size setting do nothing on Android. (issue #100) */
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
text-size-adjust: 100%;
|
||||||
font-family: var(
|
font-family: var(
|
||||||
--editor-font-family,
|
--editor-font-family,
|
||||||
"Inter",
|
"Inter",
|
||||||
|
|||||||
Reference in New Issue
Block a user