Files
ShakaPlayer/ui/less/material_svg_icon.less
Phyo Wai Lin 07462f8ff0 fix(UI): apply background color only for configured icons (#9121)
Previously, `currentcolor` was applied to the background even for
unconfigured icons, causing a black square to appear in place of the
icon.

Now, the background color is applied only when the icon is configured.
2025-09-21 10:02:47 +02:00

10 lines
170 B
Plaintext

.shaka-ui-icon {
display: inline-block;
fill: currentcolor;
mask-position: left top;
mask-repeat: no-repeat;
mask-size: 1em 1em;
width: 1em;
height: 1em;
}