commit: d4bd64a5f5fb95cd1050ced9f1029ebbe057b6c4
parent ed80ecfdbd41998830f6888bbd5fe60bb687bae6
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 21 Apr 2022 00:39:54 +0300
fix panel headers on mobile
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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;