mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Some more state wrapping fixes (#1082)
* climate state should never wrap * some more state wrapping fixes
This commit is contained in:
parent
a597749020
commit
5068178aac
@ -7,6 +7,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.target {
|
.target {
|
||||||
|
@ -16,12 +16,17 @@
|
|||||||
@apply(--layout-baseline);
|
@apply(--layout-baseline);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
state-info {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
.state {
|
.state {
|
||||||
@apply --paper-font-body1;
|
@apply --paper-font-body1;
|
||||||
color: var(--primary-text-color);
|
color: var(--primary-text-color);
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
flex: 1 0 50px;
|
max-width: 40%;
|
||||||
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
.state.has-unit_of_measurement {
|
.state.has-unit_of_measurement {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user