This commit is contained in:
Mr. M
2025-05-13 01:10:23 +02:00
2 changed files with 12 additions and 1 deletions

View File

@@ -124,6 +124,11 @@
showSidebarButtons(animate = false) {
if (this.sidebarButtons.hasAttribute('hidden') && animate) {
if (gZenVerticalTabsManager._prefsRightSide) {
this.sidebarButtons.setAttribute('right', true);
} else {
this.sidebarButtons.removeAttribute('right');
}
for (const button of this.sidebarButtons.querySelectorAll('toolbarbutton')) {
button.style.opacity = 0;
}

View File

@@ -18,7 +18,13 @@
padding: 5px;
gap: 12px;
left: 2%;
&[right='true'] {
right: 2%;
}
&[right='false'] {
left: 2%;
}
& toolbarbutton {
width: 32px;