mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
parent
04ef783f5b
commit
7e58bd59c3
@ -31,7 +31,7 @@ export class HaExpansionPanel extends LitElement {
|
|||||||
|
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
return html`
|
return html`
|
||||||
<div class="top">
|
<div class="top ${classMap({ expanded: this.expanded })}">
|
||||||
<div
|
<div
|
||||||
id="summary"
|
id="summary"
|
||||||
@click=${this._toggleContainer}
|
@click=${this._toggleContainer}
|
||||||
@ -147,6 +147,12 @@ export class HaExpansionPanel extends LitElement {
|
|||||||
.top {
|
.top {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
border-radius: var(--ha-card-border-radius, 12px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.top.expanded {
|
||||||
|
border-bottom-left-radius: 0px;
|
||||||
|
border-bottom-right-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top.focused {
|
.top.focused {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user