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:
Cynthia Lin
2018-08-19 14:18:51 -07:00
committed by Tim Abbott
parent e7311cdf5d
commit 1ab4d08258
5 changed files with 9 additions and 15 deletions

View File

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