mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 13:57:21 +00:00
Merge pull request #1913 from home-assistant/entities-padding-fix
Fixes #1910 - Entities Margin correction
This commit is contained in:
commit
6dac48e5b8
@ -128,9 +128,9 @@ class HuiEntitiesCard extends hassLocalizeLitMixin(LitElement)
|
||||
margin: -4px 0;
|
||||
}
|
||||
#states > * {
|
||||
margin: 4px 0;
|
||||
margin: 8px 0;
|
||||
}
|
||||
#states > * {
|
||||
#states > div > * {
|
||||
overflow: hidden;
|
||||
}
|
||||
.header {
|
||||
@ -166,7 +166,7 @@ class HuiEntitiesCard extends hassLocalizeLitMixin(LitElement)
|
||||
element.addEventListener("click", () => this._handleClick(entityConf));
|
||||
}
|
||||
|
||||
return element;
|
||||
return html`<div>${element}</div>`;
|
||||
}
|
||||
|
||||
private _handleClick(entityConf: ConfigEntity) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user