mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +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:
@@ -219,11 +219,6 @@ function initialize_kitchen_sink_stuff() {
|
||||
timerender.set_full_datetime(message, time_elem);
|
||||
});
|
||||
|
||||
// compose-content padding = icon bottom to make keyboard popover shortcut
|
||||
// vertically aligned with the compose box
|
||||
$('#sidebar-keyboard-shortcuts #keyboard-icon').css('bottom',
|
||||
parseInt($(".compose-content").css("paddingBottom"), 10));
|
||||
|
||||
$('#streams_header h4').tooltip({placement: 'right',
|
||||
animation: false});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user