right_sidebar: Create variable for left margin.

This commit is contained in:
evykassirer 2024-11-12 12:21:01 -08:00 committed by Tim Abbott
parent c2335ebc72
commit 89379c2ca0
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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 {