mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
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}
|
@keydown=${this._handleKeyDown}
|
||||||
>
|
>
|
||||||
${this.narrow ? html`<slot name="icon"></slot>` : ""}
|
${this.narrow ? html`<slot name="icon"></slot>` : ""}
|
||||||
${!this.narrow || this.active
|
<span class="name">${this.name}</span>
|
||||||
? html`<span class="name">${this.name}</span>`
|
|
||||||
: ""}
|
|
||||||
${this._shouldRenderRipple ? html`<mwc-ripple></mwc-ripple>` : ""}
|
${this._shouldRenderRipple ? html`<mwc-ripple></mwc-ripple>` : ""}
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user