Make text on small screens cap at 16px min size

so mobile browsers don't zoom
hopefully
This commit is contained in:
hppeng 2022-08-20 17:53:33 -07:00
parent 045940ec87
commit 37292520e4

View file

@ -200,10 +200,10 @@ input.equipment-input:not(.is-invalid) {
@media screen and (orientation: landscape) and (max-width: 1199px) { @media screen and (orientation: landscape) and (max-width: 1199px) {
:root { :root {
--scaled-fontsize: 1rem; --scaled-fontsize: max(1rem, 16px);
} }
.scaled-font { .scaled-font {
font-size: 1rem; font-size: max(1rem, 16px);
} }
.box-title { .box-title {