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:
GithubAnon0000 2025-02-21 10:14:15 +00:00 committed by GitHub
parent 8ec139f62a
commit 00cc1b408a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,7 +144,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
:global(.CodeMirror-placeholder) {
font-family: sans-serif;
font-size: 55%;
font-size: max(12px, 55%);
text-align: center;
color: var(--fg-subtle);
}