1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-09 01:45:30 +02:00

Update subproject commit in l10n and zen-components

``
This commit is contained in:
mauro-balades 2024-09-24 20:16:50 +02:00
parent a9e0fca099
commit c494973e16
3 changed files with 4 additions and 15 deletions

View file

@ -15,7 +15,7 @@ export var ZenCustomizableUI = new class {
{
type: this.TYPE_TOOLBAR,
defaultPlacements: [
"PanelUI-menu-button", "zen-expand-sidebar-button", "zen-profile-button"
"preferences-button", "zen-expand-sidebar-button", "zen-profile-button"
],
defaultCollapsed: null,
}
@ -71,8 +71,6 @@ export var ZenCustomizableUI = new class {
</toolbar>
`);
window.document.getElementById('navigator-toolbox').prepend(sidebarBox);
const sideBarTopButtons = window.document.getElementById('zen-sidebar-top-buttons')
.querySelector('#zen-sidebar-top-buttons-customization-target');
const newTab = window.document.getElementById('vertical-tabs-newtab-button');
newTab.classList.add('zen-sidebar-action-button');
@ -81,13 +79,6 @@ export var ZenCustomizableUI = new class {
wrapper.id = 'zen-workspaces-button';
window.document.getElementById('zen-sidebar-icons-wrapper').prepend(wrapper);
const panelMenu = window.document.getElementById('PanelUI-menu-button');
panelMenu.classList.add('zen-sidebar-action-button');
panelMenu.setAttribute('cui-areatype', 'toolbar');
panelMenu.setAttribute('removable', 'true');
sideBarTopButtons.prepend(panelMenu);
for (let id of this.defaultSidebarIcons) {
const elem = window.document.getElementById(id);
if (!elem) continue;