summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/static/style.css12
1 files changed, 7 insertions, 5 deletions
diff --git a/web/static/style.css b/web/static/style.css
index 9591dc8..1383b5c 100644
--- a/web/static/style.css
+++ b/web/static/style.css
@@ -26,6 +26,13 @@ body {
gap: 2px;
}
+@media not (max-aspect-ratio: 8/5) {
+ #main.controls-on-right {
+ grid-template-columns: 1fr 80vh;
+ grid-template-areas: 'titlebar titlebar' 'visits info' 'visits controls';
+ }
+}
+
@media (max-aspect-ratio: 8/5) {
#main {
width: min(80vh, 100vw);
@@ -35,11 +42,6 @@ body {
}
}
-#main.controls-on-right {
- grid-template-columns: 1fr 80vh;
- grid-template-areas: 'titlebar titlebar' 'visits info' 'visits controls';
-}
-
/* titlebar */
#titlebar {