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

@@ -76,13 +76,13 @@
}
openThemePicker(event) {
const target = event.explicitOriginalTarget?.classList?.contains(
const position = event.explicitOriginalTarget?.classList?.contains(
'zen-workspace-creation-edit-theme-button'
)
? event.explicitOriginalTarget
: this.toolbox;
PanelMultiView.openPopup(this.panel, target, {
position: 'bottomright topright',
? 'end_before'
: 'topright topleft';
PanelMultiView.openPopup(this.panel, this.toolbox, {
position,
triggerEvent: event,
});
}