diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-07 23:54:58 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-07 23:54:58 -0700 |
commit | 5bc3e0d95cd4ae4e12178988a639202ceaf50451 (patch) | |
tree | 17065580f3eb1a46f816fd97521cf51e275f8c24 /web | |
parent | 152324418166cbb915a9489e6673d196ad364a70 (diff) | |
download | dartboat-5bc3e0d95cd4ae4e12178988a639202ceaf50451.tar.gz dartboat-5bc3e0d95cd4ae4e12178988a639202ceaf50451.tar.xz |
web: fix ui bug
Diffstat (limited to 'web')
-rw-r--r-- | web/static/style.css | 12 |
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 { |