From d4bd64a5f5fb95cd1050ced9f1029ebbe057b6c4 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 21 Apr 2022 00:39:54 +0300 Subject: [PATCH] fix panel headers on mobile --- src/components/chat/chat.scss | 2 +- src/panel.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 1e04630074..90926904b6 100644 --- a/src/components/chat/chat.scss +++ b/src/components/chat/chat.scss @@ -47,7 +47,7 @@ } .chat-view-heading { - grid-template-columns: auto 1fr; + grid-template-columns: auto minmax(50%, 1fr); } .go-back-button { diff --git a/src/panel.scss b/src/panel.scss index 776ed863e9..ffd48a75b1 100644 --- a/src/panel.scss +++ b/src/panel.scss @@ -41,7 +41,7 @@ box-sizing: border-box; display: grid; grid-auto-flow: column; - grid-template-columns: 1fr; + grid-template-columns: minmax(50%, 1fr); grid-auto-columns: auto; grid-column-gap: 0.5em; flex: none;