mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-28 09:04:42 +00:00
Remove sidebar margin properties after transition to ensure proper layout
This commit is contained in:
@@ -249,6 +249,10 @@ var gZenCompactModeManager = {
|
||||
|
||||
setTimeout(() => {
|
||||
this.sidebar.style.removeProperty('transition');
|
||||
|
||||
// Just in case:
|
||||
this.sidebar.style.removeProperty('margin-right');
|
||||
this.sidebar.style.removeProperty('margin-left');
|
||||
}, 200);
|
||||
|
||||
resolve();
|
||||
|
||||
Reference in New Issue
Block a user