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.
$(".fixed-app").css("left", "-" + sbWidth / 2 + "px");
$("#keyboard-icon").css({"margin-right": sbWidth + "px"});
}
set_layout_width();
}

View File

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