From 9cfc8c6b1d51385d3c6c98832bf78dc67d7e3db9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 3 Jan 2022 03:40:13 +0100 Subject: Fix grid layout on chrome browser. --- public/common/grid.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'public') 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 { -- cgit v1.2.3