From 7d9b8628586f10ad4931510f89fcac8ff4914c58 Mon Sep 17 00:00:00 2001 From: ftwpala Date: Thu, 4 Jul 2024 18:50:21 +0200 Subject: [PATCH] Added a condition that should remove an annoying bug on some screen sizes where the streams disappear but the chat is still on the sidebar --- src/css/Stream.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/Stream.scss b/src/css/Stream.scss index 7b33b88..f84ddbc 100644 --- a/src/css/Stream.scss +++ b/src/css/Stream.scss @@ -70,8 +70,8 @@ .close-header-caret{ top:35px; } - - @media (orientation:portrait){ + // Orientantion + aspect ratio mirrors the same ruleset in MainLayout.scss + @media (orientation:portrait), (orientation:landscape) and (max-aspect-ratio: 2 / 1){ .chat-embed { height: 100%; width: 100% !important;