mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Increase font size for accessibility (#3832)
Apparently no font size should be lower than 12px, see https://www.boia.org/blog/accessibility-tips-let-users-control-font-size. With the current 55%, I get a computed font size of 8.25px though. Considering the text shows the helpful message "Press Enter to accept, Shift+Enter for new line.", I think we should add a minimum font size.
This commit is contained in:
parent
8ec139f62a
commit
00cc1b408a
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
:global(.CodeMirror-placeholder) {
|
:global(.CodeMirror-placeholder) {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: 55%;
|
font-size: max(12px, 55%);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: var(--fg-subtle);
|
color: var(--fg-subtle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue