mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
right-sidebar: Improve keyboard shortcuts icon styling.
* Eliminate unnecessary div element wrapping around the icon and change jQuery selectors accordingly * Set initial position through CSS instead of JS * Set color to inherit to prevent night mode issues.
This commit is contained in:
@@ -72,7 +72,7 @@ function get_new_heights() {
|
||||
// RIGHT SIDEBAR
|
||||
var buddy_list_wrapper = $('#buddy_list_wrapper').expectOne();
|
||||
var group_pms = $('#group-pms').expectOne();
|
||||
var keyboard_popover_shortcut = $('#sidebar-keyboard-shortcuts #keyboard-icon').expectOne();
|
||||
var keyboard_popover_shortcut = $('#keyboard-icon').expectOne();
|
||||
|
||||
var usable_height =
|
||||
res.right_sidebar_height
|
||||
|
||||
Reference in New Issue
Block a user