Adjust URL bar height and update layout handling for compact mode

This commit is contained in:
mr. M
2025-03-08 11:51:50 +01:00
parent ff339c3fb0
commit 07afc4810a
2 changed files with 7 additions and 12 deletions

View File

@@ -620,6 +620,12 @@ var gZenVerticalTabsManager = {
}
gZenCompactModeManager.updateCompactModeContext(isSingleToolbar);
document.getElementById("urlbar").removeAttribute('--urlbar-height');
if (!isSingleToolbar) {
document.getElementById("urlbar").style.setProperty('--urlbar-height', '32px');
} else {
gURLBar.updateLayoutBreakout();
}
// Always move the splitter next to the sidebar
this.navigatorToolbox.after(document.getElementById('zen-sidebar-splitter'));