We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2df5392 commit 19f8393Copy full SHA for 19f8393
src/button-card.ts
@@ -983,6 +983,7 @@ class ButtonCard extends LitElement {
983
const haIconStyle: StyleInfo = {
984
color,
985
width: this._config!.size,
986
+ '--ha-icon-display': haCardStyleFromConfig.height ? 'inline' : undefined,
987
position: !this._config!.aspect_ratio && !haCardStyleFromConfig.height ? 'relative' : 'absolute',
988
...haIconStyleFromConfig,
989
};
0 commit comments