mirror of https://github.com/zulip/zulip.git
left_sidebar: Move DM section header id to top level in css file.
This is a refactor and should not introduce any visual changes. Fixes https://github.com/zulip/zulip/pull/30707#discussion_r1669110661.
This commit is contained in:
parent
135f31468f
commit
6c3707f484
|
@ -198,12 +198,7 @@ li.show-more-topics {
|
|||
}
|
||||
}
|
||||
|
||||
.direct-messages-container {
|
||||
/* Properly offset all the grid rows
|
||||
in the DM section. */
|
||||
margin-right: 12px;
|
||||
|
||||
&#direct-messages-section-header {
|
||||
#direct-messages-section-header {
|
||||
grid-template-columns: 0 15px minmax(0, 1fr) max-content 30px 0;
|
||||
grid-template-rows: var(--line-height-sidebar-row-prominent);
|
||||
/* TODO: Rewrite the `--left-sidebar-collapse-widget-gutter`
|
||||
|
@ -243,6 +238,11 @@ li.show-more-topics {
|
|||
}
|
||||
}
|
||||
|
||||
.direct-messages-container {
|
||||
/* Properly offset all the grid rows
|
||||
in the DM section. */
|
||||
margin-right: 12px;
|
||||
|
||||
& ul.dm-list {
|
||||
list-style-type: none;
|
||||
font-weight: 400;
|
||||
|
|
Loading…
Reference in New Issue