left_sidebar: Set tighter line-height on inner topics.

This commit is contained in:
Karl Stolley 2024-11-13 13:12:43 -06:00 committed by Tim Abbott
parent f482639af8
commit bb08bf53f7
2 changed files with 16 additions and 0 deletions

View File

@ -282,6 +282,16 @@
--line-height-sidebar-row-prominent: 1.7142em; /* 24px / 14px em */
--line-height-sidebar-row: 1.5714em; /* 22px / 14px em */
--line-height-sidebar-row-with-avatars: 1.3571em; /* 19px / 14px em */
--line-height-sidebar-topic-inner: 1.2em;
/* This spacing value is to compensate for the
additional space of the prominent row-height
from within the inner topic value. */
--spacing-top-bottom-sidebar-topic-inner: calc(
(
var(--line-height-sidebar-row-prominent) -
var(--line-height-sidebar-topic-inner)
) / 2
);
/* Right sidebar */
--right-sidebar-padding-right: 8px;

View File

@ -1117,6 +1117,12 @@ li.top_left_scheduled_messages {
&:focus {
text-decoration: none;
}
.sidebar-topic-name-inner {
display: block;
line-height: var(--line-height-sidebar-topic-inner);
margin: var(--spacing-top-bottom-sidebar-topic-inner) 0;
}
}
.sidebar-topic-action-heading {