scroll_bar: Remove unnessary adjustment of keyboard icon.

Since the keyboard icon is not associated with scrollbar, we
can just have a fixed margin-right for it.
This commit is contained in:
Aman Agrawal 2022-01-06 06:15:01 +00:00 committed by Tim Abbott
parent b0dd063bb8
commit 5688d8b0df
2 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,6 @@ export function initialize() {
// Align floating recipient bar with the middle column. // Align floating recipient bar with the middle column.
$(".fixed-app").css("left", "-" + sbWidth / 2 + "px"); $(".fixed-app").css("left", "-" + sbWidth / 2 + "px");
$("#keyboard-icon").css({"margin-right": sbWidth + "px"});
} }
set_layout_width(); set_layout_width();
} }

View File

@ -208,6 +208,7 @@
position: relative; position: relative;
cursor: pointer; cursor: pointer;
font-size: 20px; font-size: 20px;
margin-right: 15px;
} }
#sidebar-keyboard-shortcuts { #sidebar-keyboard-shortcuts {