From 7047a5e9c1c5d2aa6330ebab5f2f5e0f689ad3c5 Mon Sep 17 00:00:00 2001 From: marlon-erler Date: Thu, 11 Jul 2024 01:07:02 +0200 Subject: [PATCH] update layout for tools --- dist/index.css | 4 ++-- src/styles.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.css b/dist/index.css index d943c9af..28e13c14 100644 --- a/dist/index.css +++ b/dist/index.css @@ -38,7 +38,7 @@ bottom: var(--footer-top-line); flex: 1; } -@media (max-height: 700px) and (min-width: 640px) and (max-width: 1400px) { +@media (min-width: 640px) and (max-width: 1400px) { main.split:has([showingchattools]) { display: flex; } @@ -46,7 +46,7 @@ display: none; } } -@media (min-width: 1400px) or ((max-height: 700px) and (min-width: 640px)) { +@media (min-width: 640px) { [showingchattools] :is(.thread-view, .chat-tool-view) { top: var(--header-height); bottom: var(--footer-top-line); diff --git a/src/styles.css b/src/styles.css index 6cd1768c..797d1fff 100644 --- a/src/styles.css +++ b/src/styles.css @@ -53,7 +53,7 @@ flex: 1; } -@media (max-height: 700px) and (min-width: 640px) and (max-width: 1400px) { +@media (min-width: 640px) and (max-width: 1400px) { main.split:has([showingchattools]) { display: flex; } @@ -63,7 +63,7 @@ } } -@media (min-width: 1400px) or ((max-height: 700px) and (min-width: 640px)) { +@media (min-width: 640px) { [showingchattools] :is(.thread-view, .chat-tool-view) { top: var(--header-height); bottom: var(--footer-top-line);