Fix issue where long states do not wrap (#4101)

This commit is contained in:
Phi Dong
2019-10-22 08:39:37 +02:00
committed by Bram Kragten
parent fdbe89e87e
commit b0fce93de8
+1
View File
@@ -39,6 +39,7 @@ class StateCardDisplay extends LocalizeMixin(PolymerElement) {
text-align: right; text-align: right;
max-width: 40%; max-width: 40%;
flex: 0 0 auto; flex: 0 0 auto;
overflow-wrap: break-word;
} }
:host([rtl]) .state { :host([rtl]) .state {
margin-right: 16px; margin-right: 16px;