mirror of https://github.com/zulip/zulip.git
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:
parent
b0dd063bb8
commit
5688d8b0df
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue