Always show tab labels (#11919)
This commit is contained in:
parent
8c445f6409
commit
604b79696e
|
@ -42,9 +42,7 @@ export class HaTab extends LitElement {
|
|||
@keydown=${this._handleKeyDown}
|
||||
>
|
||||
${this.narrow ? html`<slot name="icon"></slot>` : ""}
|
||||
${!this.narrow || this.active
|
||||
? html`<span class="name">${this.name}</span>`
|
||||
: ""}
|
||||
<span class="name">${this.name}</span>
|
||||
${this._shouldRenderRipple ? html`<mwc-ripple></mwc-ripple>` : ""}
|
||||
</div>
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue