Improve spacing in entity rows + secondary ellipsis (#8028)

This commit is contained in:
Philip Allgaier 2021-01-05 10:50:40 +01:00 committed by GitHub
parent 42f0101440
commit 1667973a66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,8 @@ class HuiGenericEntityRow extends LitElement {
} }
.info { .info {
margin-left: 16px; margin-left: 16px;
flex: 1 0 60px; margin-right: 8px;
flex: 1 0 30%;
} }
.info, .info,
.info > * { .info > * {
@ -181,7 +182,6 @@ class HuiGenericEntityRow extends LitElement {
} }
.secondary, .secondary,
ha-relative-time { ha-relative-time {
display: block;
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }
state-badge { state-badge {