[A11y] allow users to scale website

* on smaller screens, make fontsize bigger for inputs to not have iPhones zoom on focus
This commit is contained in:
Richard Schreiber
2025-04-23 14:36:28 +02:00
committed by GitHub
parent 48c2d57cd4
commit 9d01072880
4 changed files with 10 additions and 3 deletions

View File

@@ -59,6 +59,13 @@ html {
font-size: 1em;
}
@media (max-width: $screen-xs-max) {
/* scale everything to 1rem so older/smaller iPhones do not zoom inputs on focus */
.form-control {
font-size: 1rem;
}
}
/* fixe for bootstrap using px-values for fontsize */
.panel-title {
font-size: ($font-size-base * 1.125);