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

@ -1,7 +1,7 @@
.zebra-table {
--table-cell-padding: 0.5rem;
@media (max-width: 666px) {
@media (width < 666px) {
--table-cell-padding: 0.3rem;
}
@ -32,7 +32,7 @@
.responsive-table {
--table-gap: 0.5rem;
@media (max-width: 666px) {
@media (width < 666px) {
th {
display: none;
}