refactor: Apply essentials icons to the entire tab to avoid removing the background when cloning, b=no-bug, c=tabs, welcome, workspaces

This commit is contained in:
mr. m
2025-06-09 01:12:22 +02:00
parent 872f7bdcbe
commit ba4eef0db9
5 changed files with 13 additions and 30 deletions

View File

@@ -88,9 +88,7 @@
} catch {}
} else {
if (tab.hasAttribute('zen-essential')) {
tab
.querySelector('.tab-background')
.style.setProperty('--zen-tab-icon', `url(${iconUrl})`);
tab.style.setProperty('--zen-essential-tab-icon', `url(${iconUrl})`);
}
}
// TODO: work on this