web/layout: do iphone landscape optimizations only when appropriate

This commit is contained in:
wukko 2024-10-06 00:20:14 +06:00
parent 3749fb2aa8
commit c482c9fea2
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -259,7 +259,7 @@
}
/* add padding for notch / dynamic island in landscape */
@media screen and (orientation: landscape) {
@media screen and (orientation: landscape) and (min-width: 535px) {
#cobalt[data-iphone="true"] {
grid-template-columns:
calc(