From c895bb0c519e7fc7c24bfb437f08d010cfe28d99 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 3 Nov 2022 22:22:50 +0300 Subject: css: Using `grid-template` shorthand --- vnext/src/index.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vnext/src') diff --git a/vnext/src/index.css b/vnext/src/index.css index 1d9292a2..181bc051 100644 --- a/vnext/src/index.css +++ b/vnext/src/index.css @@ -126,8 +126,7 @@ hr { #app { display: grid; - grid-template-columns: auto; - grid-template-rows: auto 1fr auto; + grid-template: auto 1fr auto / auto; grid-template-areas: "header" "content" @@ -757,8 +756,7 @@ blockquote { } #app { - grid-template-rows: auto 1fr; - grid-template-columns: 300px auto; + grid-template: auto 1fr / 300px auto; grid-template-areas: "sidebar header header" "sidebar content content" -- cgit v1.2.3