mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
right_sidebar: Use variable for avatar right margin.
This commit is contained in:
@@ -323,6 +323,7 @@
|
||||
--right-sidebar-heading-left-spacing: 5px;
|
||||
--right-sidebar-avatar-width: 2em;
|
||||
--right-sidebar-avatar-height: var(--right-sidebar-avatar-width);
|
||||
--right-sidebar-avatar-right-margin: 11px;
|
||||
|
||||
/* Tippy popover related values */
|
||||
--navbar-popover-menu-min-width: 230px;
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
position: relative;
|
||||
/* TODO: Express this as part of the grid on
|
||||
.selectable_sidebar_block. */
|
||||
margin-right: 11px;
|
||||
margin-right: var(--right-sidebar-avatar-right-margin);
|
||||
|
||||
&:not(:has(.user-circle-offline)) .user-profile-picture {
|
||||
/* The over-avatar user circle width is 15.5px at 20px/1em;
|
||||
|
||||
@@ -1001,7 +1001,7 @@ div.focused-message-list.is-conversation-view .recipient_row {
|
||||
.user_sidebar_entry.with_avatar .user-profile-picture {
|
||||
width: var(--right-sidebar-avatar-width);
|
||||
height: var(--right-sidebar-avatar-height);
|
||||
margin-right: 11px;
|
||||
margin-right: var(--right-sidebar-avatar-right-margin);
|
||||
}
|
||||
|
||||
.home-error-bar {
|
||||
|
||||
Reference in New Issue
Block a user