From c2f6167c01000b47854bb14972732e6053cd49b8 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Fri, 19 May 2023 13:09:51 -0500 Subject: [PATCH] css: Remove superfluous grid- properties. The use of named areas with `grid-area` make it unnecessary to declare `grid-row` or `grid-column` values. (Note also that grid areas must not be presented in quotation marks.) Additionally, because `.unread_marker` is no longer placed on the grid by itself (i.e., it always accompanies `.date_unread_marker` or `.message_unread_marker`), it does not need any manual grid placement, `grid-area` or otherwise. --- web/styles/zulip.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/web/styles/zulip.css b/web/styles/zulip.css index caf88d61c5..9d2da84d8b 100644 --- a/web/styles/zulip.css +++ b/web/styles/zulip.css @@ -1568,7 +1568,6 @@ td.pointer { } .unread_marker { - grid-column: 1 / 2; margin-left: var(--unread-marker-left); opacity: 0; transition: all 0.3s ease-out; @@ -1582,8 +1581,7 @@ td.pointer { } &.date_unread_marker { - grid-area: "date_unread_marker"; - grid-row: 1 / 2; + grid-area: date_unread_marker; .unread-marker-fill { border-radius: 0 !important; @@ -1592,8 +1590,7 @@ td.pointer { } &.message_unread_marker { - grid-area: "message_unread_marker"; - grid-row: 2 / 3; + grid-area: message_unread_marker; } }