feat: part 2 - Finish workspace creation form, refactor collapsed toolbar and update motion to v12.16.0, b=no-bug, c=workspaces, common, tabs, vendor

This commit is contained in:
Mr. M
2025-06-11 00:29:41 +02:00
parent df916f1e4a
commit 548ed6e0f5
18 changed files with 250 additions and 152 deletions

View File

@@ -20,7 +20,7 @@ export var ZenCustomizableUI = new (class {
true
);
CustomizableUIInternal.registerArea(
'zen-sidebar-bottom-buttons',
'zen-sidebar-foot-buttons',
{
type: this.TYPE_TOOLBAR,
defaultPlacements: this.defaultSidebarIcons,
@@ -148,7 +148,7 @@ export var ZenCustomizableUI = new (class {
}
_hideToolbarButtons(window) {
const wrapper = window.document.getElementById('zen-sidebar-bottom-buttons');
const wrapper = window.document.getElementById('zen-sidebar-foot-buttons');
const elementsToHide = ['new-tab-button'];
for (let id of elementsToHide) {
const elem = window.document.getElementById(id);
@@ -167,7 +167,7 @@ export var ZenCustomizableUI = new (class {
window.document.getElementById('zen-sidebar-top-buttons')
);
window.CustomizableUI.registerToolbarNode(
window.document.getElementById('zen-sidebar-bottom-buttons')
window.document.getElementById('zen-sidebar-foot-buttons')
);
}
})();