Improve mobile layout and touch sizing
This commit is contained in:
parent
679d49fca4
commit
363a6a9b3c
1 changed files with 14 additions and 2 deletions
|
|
@ -219,8 +219,20 @@
|
|||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.remote-grid { grid-template-columns: repeat(3, minmax(56px, 72px)); }
|
||||
.device-grid-compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
|
||||
.hero-card h1 { font-size: 1.6rem; }
|
||||
.status-pill { white-space: normal; font-size: .75rem; }
|
||||
.remote-grid { grid-template-columns: repeat(3, minmax(56px, 72px)); justify-content: center; }
|
||||
.device-grid-compact { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
|
||||
.nav-header { gap: 8px; }
|
||||
.connect-toggle { min-width: 0; }
|
||||
.command-log { max-height: 180px; }
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.device-grid-compact { grid-template-columns: 1fr 1fr; }
|
||||
.remote-grid { grid-template-columns: repeat(3, minmax(52px, 1fr)); width: 100%; max-width: 240px; margin-inline: auto; }
|
||||
.remote-btn { min-height: 48px; }
|
||||
.actions { gap: 7px; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue