mirror of
https://github.com/zen-browser/desktop
synced 2026-05-01 20:07:25 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user