right_sidebar: Hide underline from user-list toggle button in navbar.

This commit is contained in:
Aman Agrawal 2024-03-27 18:48:49 +00:00 committed by Tim Abbott
parent 3847740a2a
commit bec8fccf75
3 changed files with 0 additions and 14 deletions

View File

@ -19,14 +19,11 @@ export let right_sidebar_expanded_as_overlay = false;
export function hide_userlist_sidebar(): void {
$(".app-main .column-right").removeClass("expanded");
$("body").removeClass("right-sidebar-expanded");
right_sidebar_expanded_as_overlay = false;
}
export function show_userlist_sidebar(): void {
// TODO: Refactor to only use class added to body.
$(".app-main .column-right").addClass("expanded");
$("body").addClass("right-sidebar-expanded");
resize.resize_page_components();
right_sidebar_expanded_as_overlay = true;
}

View File

@ -300,13 +300,6 @@ $user_status_emoji_width: 24px;
}
}
/* This makes a play on specificity for displaying box-shadow. */
#userlist-toggle-button,
body.right-sidebar-expanded #userlist-toggle-button {
/* Same color as icon but a bit darker. */
box-shadow: inset 0 -2px 0 hsl(241.36deg 27.48% 37.73%);
}
.right-sidebar-items:first-of-type #userlist-header {
border-top: none;
}

View File

@ -2453,10 +2453,6 @@ select.invite-as {
}
}
}
#userlist-toggle-button {
box-shadow: none;
}
}
.hide-right-sidebar {