Update vertical-tabs.css to apply dynamic padding for improved layout consistency

This commit is contained in:
mr. M
2025-01-27 01:05:36 +01:00
parent b9ae18a0ca
commit 9203918788
3 changed files with 16 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ var gZenUIManager = {
}
tab.style.maxHeight = '0px';
}
tabs.style.flex = '1';
tabs.style.removeProperty('max-height');
const toolbarRect = tabs.getBoundingClientRect();
let height = toolbarRect.height;
@@ -44,6 +45,7 @@ var gZenUIManager = {
}
tab.style.removeProperty('max-height');
}
tabs.style.removeProperty('flex');
tabs.style.maxHeight = height + 'px';
},

View File

@@ -356,7 +356,6 @@
#zen-browser-tabs-wrapper {
min-height: fit-content;
overflow-y: scroll;
height: 100%;
}
#vertical-pinned-tabs-container {