Switch to ranged media with queries.

This commit is contained in:
Fredrik Jonsson 2026-05-28 14:25:45 +02:00
commit 4de62e059b

View file

@ -123,7 +123,7 @@ textarea {
}
/* For forms on mobile with single field add space between it and the submit button. */
@media (min-width: 666px) {
@media (width >= 666px) {
input:only-of-type {
&:has(+ [type='submit']) {
margin-inline-end: 0.5rem;