fix(styles): add default icon for broken tab images in vertical tabs

This commit is contained in:
mr. M
2025-03-16 01:06:55 +01:00
parent ac85bdfd3e
commit a69876325a

View File

@@ -267,6 +267,14 @@
scale: var(--zen-active-tab-scale);
}
& .tab-icon-image {
&:not([src]),
&:-moz-broken {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3C/svg%3E") !important;
background: color-mix(in srgb, var(--zen-primary-color) 70%, transparent 30%);
}
}
max-width: unset;
padding: 0 !important;