Some more state wrapping fixes (#1082)

* climate state should never wrap

* some more state wrapping fixes
This commit is contained in:
NovapaX 2018-04-17 16:00:11 +02:00 committed by Paulus Schoutsen
parent a597749020
commit 5068178aac
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@
display: flex;
flex-direction: column;
justify-content: center;
white-space: nowrap;
}
.target {

View File

@ -16,12 +16,17 @@
@apply(--layout-baseline);
}
state-info {
flex: 1 1 auto;
min-width: 0;
}
.state {
@apply --paper-font-body1;
color: var(--primary-text-color);
margin-left: 16px;
text-align: right;
flex: 1 0 50px;
max-width: 40%;
flex: 0 0 auto;
}
.state.has-unit_of_measurement {
white-space: nowrap;