diff --git a/src/components/ha-icon-button.ts b/src/components/ha-icon-button.ts
index 98a0b68e62..d4f9ce8ba7 100644
--- a/src/components/ha-icon-button.ts
+++ b/src/components/ha-icon-button.ts
@@ -28,8 +28,9 @@ export class HaIconButton extends LitElement {
.title=${this.hideTitle ? "" : this.label}
.disabled=${this.disabled}
>
- ${this.path ? html`` : ""}
-
+ ${this.path
+ ? html``
+ : html``}
`;
}
@@ -47,9 +48,6 @@ export class HaIconButton extends LitElement {
--mdc-theme-on-primary: currentColor;
--mdc-theme-text-disabled-on-light: var(--disabled-text-color);
}
- ha-icon {
- --ha-icon-display: inline;
- }
`;
}
}