From 2e6db41fdf9c3eac0c0c16b77eacd590d9549eb7 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Mon, 12 Dec 2022 20:54:54 -0800 Subject: [PATCH] Use 100dvh instead of 100% trick dvh is now supported on all modern browsers. The dvh unit makes intent clearer and subtle bugs with grid are fixed by using dvh --- style.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/style.css b/style.css index 876b329..4ebc3d4 100644 --- a/style.css +++ b/style.css @@ -1,8 +1,5 @@ -html, body { - min-block-size: 100%; -} - body { + min-block-size: 100dvh; font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; -- 2.47.3