Refactor sidebar width calculation in compact mode and update toolbar separator logic

This commit is contained in:
mr. m
2025-04-11 00:43:50 +02:00
parent a0d3447202
commit 713f1486c3
3 changed files with 8 additions and 8 deletions

View File

@@ -544,7 +544,7 @@ var gZenVerticalTabsManager = {
);
elements = Array.from(elements).reverse();
// Add separator if it doesn't exist
if (!buttonsTarget.contains(this._topButtonsSeparatorElement)) {
if (!this._hasSetSingleToolbar) {
buttonsTarget.append(this._topButtonsSeparatorElement);
}
for (const button of elements) {