mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-29 15:57:20 +00:00
Adding div arround each row to deal with spacing
This commit is contained in:
parent
4bcb13486e
commit
058f8d178e
@ -148,9 +148,9 @@ class HuiEntitiesCard extends hassLocalizeLitMixin(LitElement)
|
|||||||
margin: -4px 0;
|
margin: -4px 0;
|
||||||
}
|
}
|
||||||
#states > * {
|
#states > * {
|
||||||
margin: 4px 0;
|
margin: 8px 0;
|
||||||
}
|
}
|
||||||
#states > * {
|
#states > div > * {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
@ -186,7 +186,7 @@ class HuiEntitiesCard extends hassLocalizeLitMixin(LitElement)
|
|||||||
element.addEventListener("click", () => this._handleClick(entityConf));
|
element.addEventListener("click", () => this._handleClick(entityConf));
|
||||||
}
|
}
|
||||||
|
|
||||||
return element;
|
return html`<div>${element}</div>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
private _handleClick(entityConf: ConfigEntity): void {
|
private _handleClick(entityConf: ConfigEntity): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user