mirror of https://github.com/zulip/zulip.git
right_sidebar: Create variable for left margin.
This commit is contained in:
parent
c2335ebc72
commit
89379c2ca0
|
@ -269,6 +269,7 @@
|
|||
--left-sidebar-bottom-scrolling-buffer: calc(
|
||||
(var(--legacy-body-line-height-unitless) * 1em) + 0.3571em
|
||||
);
|
||||
--right-sidebar-left-spacing: 5px;
|
||||
|
||||
/* We base sidebar row heights on their line heights.
|
||||
Prominent rows include things like headers (e.g., VIEWS)
|
||||
|
|
|
@ -53,7 +53,7 @@ $user_status_emoji_width: 24px;
|
|||
}
|
||||
|
||||
.buddy-list-user-link {
|
||||
margin-left: 5px;
|
||||
margin-left: var(--right-sidebar-left-spacing);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -195,7 +195,7 @@ $user_status_emoji_width: 24px;
|
|||
font-size: 14px;
|
||||
/* Override .empty-list-message !important styling */
|
||||
padding: 0 !important;
|
||||
margin-left: 5px;
|
||||
margin-left: var(--right-sidebar-left-spacing);
|
||||
text-align: left;
|
||||
|
||||
&:hover {
|
||||
|
|
Loading…
Reference in New Issue