mirror of https://github.com/zulip/zulip.git
left_sidebar: Set tighter line-height on inner topics.
This commit is contained in:
parent
f482639af8
commit
bb08bf53f7
|
@ -282,6 +282,16 @@
|
||||||
--line-height-sidebar-row-prominent: 1.7142em; /* 24px / 14px em */
|
--line-height-sidebar-row-prominent: 1.7142em; /* 24px / 14px em */
|
||||||
--line-height-sidebar-row: 1.5714em; /* 22px / 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-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 */
|
||||||
--right-sidebar-padding-right: 8px;
|
--right-sidebar-padding-right: 8px;
|
||||||
|
|
|
@ -1117,6 +1117,12 @@ li.top_left_scheduled_messages {
|
||||||
&:focus {
|
&:focus {
|
||||||
text-decoration: none;
|
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 {
|
.sidebar-topic-action-heading {
|
||||||
|
|
Loading…
Reference in New Issue