mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-28 07:17:21 +00:00
Fix issue where long states do not wrap (#4101)
This commit is contained in:
parent
fdbe89e87e
commit
b0fce93de8
1
src/state-summary/state-card-display.js
Normal file → Executable file
1
src/state-summary/state-card-display.js
Normal file → Executable 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user