Merge pull request #213 from hppeng-wynn/mobile-text-minsize

Make text on small screens cap at 16px min size
This commit is contained in:
hppeng-wynn 2022-08-21 07:15:30 -07:00 committed by GitHub
commit 0292660f31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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