mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 13:57:21 +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;
|
||||
}
|
||||
#states > * {
|
||||
margin: 4px 0;
|
||||
margin: 8px 0;
|
||||
}
|
||||
#states > * {
|
||||
#states > div > * {
|
||||
overflow: hidden;
|
||||
}
|
||||
.header {
|
||||
@ -186,7 +186,7 @@ class HuiEntitiesCard extends hassLocalizeLitMixin(LitElement)
|
||||
element.addEventListener("click", () => this._handleClick(entityConf));
|
||||
}
|
||||
|
||||
return element;
|
||||
return html`<div>${element}</div>`;
|
||||
}
|
||||
|
||||
private _handleClick(entityConf: ConfigEntity): void {
|
||||
|
Loading…
x
Reference in New Issue
Block a user