summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-01-03 03:40:13 +0100
committerTor Andersson <tor@ccxvii.net>2022-01-06 12:10:18 +0100
commit9cfc8c6b1d51385d3c6c98832bf78dc67d7e3db9 (patch)
treeee863f272703fbcabacbcaab78d1c4263b00f257 /public
parent058c6a95ca1416970bca5cf2cfe07a4f17e5c2a4 (diff)
downloadserver-9cfc8c6b1d51385d3c6c98832bf78dc67d7e3db9.tar.gz
Fix grid layout on chrome browser.
Diffstat (limited to 'public')
-rw-r--r--public/common/grid.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/common/grid.css b/public/common/grid.css
index c3e8714..66537f4 100644
--- a/public/common/grid.css
+++ b/public/common/grid.css
@@ -56,8 +56,8 @@ body {
padding: 0;
display: grid;
overflow: clip;
- grid-template-columns: 1fr min-content;
- grid-template-rows: min-content 1fr;
+ grid-template-columns: minmax(0, 1fr) auto;
+ grid-template-rows: auto minmax(0, 1fr);
width: 100vw;
height: 100vh;
}
@@ -90,7 +90,7 @@ aside {
grid-row: 2;
display: grid;
overflow: clip;
- grid-template-rows: min-content 1fr;
+ grid-template-rows: auto minmax(0, 1fr);
width: 210px;
border-left: 1px solid black;
}
@@ -297,7 +297,7 @@ header button {
background-color: white;
box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
display: none;
- grid-template-rows: min-content 1fr min-content;
+ grid-template-rows: auto minmax(0, 1fr) auto;
}
#chat_window.show {