mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-09 01:45:30 +02:00
Refactor Zen UI components for improved toolbar button management and layout adjustments
This commit is contained in:
parent
9fb04e4f7c
commit
ee86bff81c
5 changed files with 7 additions and 13 deletions
|
@ -11,7 +11,7 @@ export var ZenCustomizableUI = new (class {
|
|||
'zen-sidebar-top-buttons',
|
||||
{
|
||||
type: this.TYPE_TOOLBAR,
|
||||
defaultPlacements: [],
|
||||
defaultPlacements: [''],
|
||||
defaultCollapsed: null,
|
||||
},
|
||||
true
|
||||
|
@ -47,8 +47,6 @@ export var ZenCustomizableUI = new (class {
|
|||
customizationtarget="zen-sidebar-top-buttons-customization-target"
|
||||
mode="icons">
|
||||
<hbox id="zen-sidebar-top-buttons-customization-target" class="customization-target" flex="1">
|
||||
<toolbarbutton removable="true" class="chromeclass-toolbar-additional toolbarbutton-1 zen-sidebar-action-button" id="zen-expand-sidebar-button" data-l10n-id="sidebar-zen-expand" cui-areatype="toolbar" oncommand="gZenVerticalTabsManager.toggleExpand();"></toolbarbutton>
|
||||
<toolbarbutton removable="true" class="toolbarbutton-1 zen-sidebar-action-button zen-compact-mode-ignore" id="zen-sidepanel-button" data-l10n-id="sidebar-zen-sidepanel" onclick="gZenBrowserManagerSidebar.toggle();"></toolbarbutton>
|
||||
</hbox>
|
||||
</toolbar>
|
||||
`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue