From 5470ba1298475572623f87157c439223b9a394d3 Mon Sep 17 00:00:00 2001 From: amnesia Date: Fri, 18 Jul 2025 10:21:57 +0200 Subject: [PATCH] remove elements if new tab --- frontend/assets/style.css | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/frontend/assets/style.css b/frontend/assets/style.css index eb92bf2..7645d9a 100644 --- a/frontend/assets/style.css +++ b/frontend/assets/style.css @@ -49,16 +49,6 @@ body { color: black; } -@media (max-height: 300px) { - .search-grid { - grid-template-rows: 4em; - } - - .search-logo { - display: none; - } -} - .cards { height: 100%; width: 100%; @@ -70,6 +60,20 @@ body { overflow: auto; } +@media (max-height: 500px) { + .search-grid { + grid-template-rows: 4em; + } + + .search-logo { + display: none; + } + + .cards { + display: none; + } +} + .card { background-color: rgba(255, 255, 255, 0.5); width: 10em; @@ -97,7 +101,6 @@ body { margin: 0; } - .card-image { height: 100%; aspect-ratio: 1/1;