Allow the card features buttons to be smaller if needed (#24431)

This commit is contained in:
Paul Bottein 2025-02-27 19:30:15 +01:00 committed by GitHub
parent 3a1d371b0b
commit dd441f882b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,10 @@ export const cardFeatureStyles = css`
--control-button-group-spacing: var(--feature-button-spacing);
--control-button-group-thickness: var(--feature-height);
}
ha-control-button-group > ha-control-button {
flex-basis: 20px;
--control-button-padding: 0px;
}
ha-control-slider {
--control-slider-color: var(--feature-color);
--control-slider-background: var(--feature-color);