mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
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.
This commit is contained in:
parent
9aa9f9b3c8
commit
c2f6167c01
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user