Remove sidebar margin properties after transition to ensure proper layout

This commit is contained in:
mr. m
2025-04-10 11:08:39 +02:00
parent f687df335e
commit 9b6fae2523

View File

@@ -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();