mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-01 20:43:33 +00:00
UI: Remove sidebar fluctuation on switching the toggle button
Fixes #301
This commit is contained in:
@@ -260,9 +260,9 @@ class ServerManagerView {
|
||||
|
||||
toggleSidebar(show) {
|
||||
if (show) {
|
||||
this.$sidebar.classList.remove('hidden');
|
||||
this.$sidebar.classList.remove('sidebar-hide');
|
||||
} else {
|
||||
this.$sidebar.classList.add('hidden');
|
||||
this.$sidebar.classList.add('sidebar-hide');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user