mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-23 23:35:57 +02:00
Editor: respect the font-size setting on Android (was hardcoded 16px); viewport already blocks auto-zoom so the hardcode was
unneeded (#100)
This commit is contained in:
@@ -8894,12 +8894,14 @@
|
||||
|
||||
.editor-container.mobile :global(.editor-content) {
|
||||
padding: 8px 16px 220px !important;
|
||||
font-size: 16px !important;
|
||||
/* Respect the user's font-size setting; 16px is the default. (issue #100)
|
||||
Auto-zoom isn't a concern: the viewport sets user-scalable=no. */
|
||||
font-size: var(--editor-font-size, 16px) !important;
|
||||
}
|
||||
|
||||
.editor-container.mobile .source-editor {
|
||||
padding: 8px 16px 220px;
|
||||
font-size: 15px;
|
||||
font-size: var(--editor-font-size, 15px);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
overflow-x: hidden;
|
||||
|
||||
Reference in New Issue
Block a user