From 5bc3e0d95cd4ae4e12178988a639202ceaf50451 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sat, 7 May 2022 23:54:58 -0700 Subject: web: fix ui bug --- web/static/style.css | 12 +++++++----- 1 file 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 { -- cgit v1.2.3-70-g09d2