Merge pull request #8261 from SO9010/Fix-#7910

This commit is contained in:
mr. m
2025-05-13 00:31:48 +02:00
committed by GitHub
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;