Fixing thermostat bugs (scrolling and state) #758 and #763 (#766)

* Fixing bug more-info-climate card interface scroll bug #758

* Fixes #763

* Renamed class to match value based on PR feedback
This commit is contained in:
ciotlosm 2017-12-28 21:21:55 +02:00 committed by Andrey
parent 4379df0d5c
commit 0fd84a2f8d
2 changed files with 4 additions and 3 deletions

View File

@ -42,6 +42,7 @@
.has-swing_list .container-swing_list,
.has-swing_mode .container-swing_list {
display: block;
margin-bottom: 5px;
}
.container-operation_list iron-icon,

View File

@ -26,7 +26,7 @@
color: var(--secondary-text-color);
}
.operation-mode {
.state-label {
font-weight: bold;
text-transform: capitalize;
}
@ -36,8 +36,8 @@
<state-info state-obj="[[stateObj]]" in-dialog='[[inDialog]]'></state-info>
<div class='state'>
<div class='target'>
<span class="operation-mode">
[[stateObj.attributes.operation_mode]]
<span class="state-label">
[[stateObj.state]]
</span>
<span>
[[computeTargetTemperature(stateObj)]]