feat: Modernize the visual card editor. (#2586)
This commit is contained in:
+1
-7
@@ -7,19 +7,13 @@
|
||||
}
|
||||
|
||||
ha-icon,
|
||||
state-badge,
|
||||
svg {
|
||||
state-badge {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
svg path {
|
||||
// !important is necessary to overcome the fill set on the path itself.
|
||||
fill: currentColor !important;
|
||||
}
|
||||
|
||||
:host([allow-override-non-active-styles]) state-badge {
|
||||
--state-inactive-color: inherit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user