From 82b4a53d29b6e043001e37cb448f077a19067a33 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 14 Feb 2023 15:38:26 +0100 Subject: [PATCH] FIX: reverts part of thread css (#20286) This css was causing the view on mobile to take more space than the available width. This was particularly visible with uploads due to a bug preventing the overflow, this is also fixed. --- .../assets/stylesheets/common/chat-composer-uploads.scss | 2 ++ plugins/chat/assets/stylesheets/common/chat-side-panel.scss | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/chat/assets/stylesheets/common/chat-composer-uploads.scss b/plugins/chat/assets/stylesheets/common/chat-composer-uploads.scss index 8050774913f..bdae3a83f08 100644 --- a/plugins/chat/assets/stylesheets/common/chat-composer-uploads.scss +++ b/plugins/chat/assets/stylesheets/common/chat-composer-uploads.scss @@ -1,4 +1,6 @@ .chat-composer-uploads { + max-width: 100%; + .chat-composer-uploads-container { padding: 0.5rem 10px; display: flex; diff --git a/plugins/chat/assets/stylesheets/common/chat-side-panel.scss b/plugins/chat/assets/stylesheets/common/chat-side-panel.scss index 0839fd90178..f56063c1ec2 100644 --- a/plugins/chat/assets/stylesheets/common/chat-side-panel.scss +++ b/plugins/chat/assets/stylesheets/common/chat-side-panel.scss @@ -1,10 +1,4 @@ #main-chat-outlet.chat-view { - min-height: 0; - display: grid; - grid-template-rows: 1fr; - grid-template-areas: "main threads"; - grid-template-columns: 1fr; - &.has-side-panel-expanded { grid-template-columns: 3fr 2fr; }