mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 10:26:35 +00:00
Adding div arround each row to deal with spacing
This commit is contained in:
parent
630214ddb9
commit
3dde78cadf
@ -124,9 +124,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 {
|
||||||
@ -162,7 +162,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) {
|
private _handleClick(entityConf: ConfigEntity) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user