summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-07 23:54:58 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-07 23:54:58 -0700
commit5bc3e0d95cd4ae4e12178988a639202ceaf50451 (patch)
tree17065580f3eb1a46f816fd97521cf51e275f8c24
parent152324418166cbb915a9489e6673d196ad364a70 (diff)
downloaddartboat-5bc3e0d95cd4ae4e12178988a639202ceaf50451.tar.gz
dartboat-5bc3e0d95cd4ae4e12178988a639202ceaf50451.tar.xz
web: fix ui bug
-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 {