diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-03 03:40:13 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-01-06 12:10:18 +0100 |
commit | 9cfc8c6b1d51385d3c6c98832bf78dc67d7e3db9 (patch) | |
tree | ee863f272703fbcabacbcaab78d1c4263b00f257 /public | |
parent | 058c6a95ca1416970bca5cf2cfe07a4f17e5c2a4 (diff) | |
download | server-9cfc8c6b1d51385d3c6c98832bf78dc67d7e3db9.tar.gz |
Fix grid layout on chrome browser.
Diffstat (limited to 'public')
-rw-r--r-- | public/common/grid.css | 8 |
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 { |