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; padding: 0 4px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center;
cursor: pointer; cursor: pointer;
margin-bottom: 12px; margin-bottom: 12px;
width: 20%; width: 20%;
} }
.entity div, .entity state-badge { .entity div {
width: 100%;
text-align: center;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;