Love: Fix entity_pic in glance card (#1334)

This commit is contained in:
c727 2018-06-25 15:54:31 +02:00 committed by GitHub
parent d225105e58
commit bda2d42994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,13 +43,12 @@ class HuiGlanceCard extends LocalizeMixin(EventsMixin(PolymerElement)) {
padding: 0 4px;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
margin-bottom: 12px;
width: 20%;
}
.entity div, .entity state-badge {
width: 100%;
text-align: center;
.entity div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;