mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Polymer 1.0: more info light - reposition post transition
This commit is contained in:
parent
986b843e0d
commit
2ce090e4b3
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
max-height: 0px;
|
max-height: 0px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: max-height .5s ease-in .3s;
|
transition: max-height .5s ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-brightness .brightness {
|
.has-brightness .brightness {
|
||||||
@ -79,6 +79,10 @@
|
|||||||
if (newVal && newVal.state === 'on') {
|
if (newVal && newVal.state === 'on') {
|
||||||
this.brightnessSliderValue = newVal.attributes.brightness;
|
this.brightnessSliderValue = newVal.attributes.brightness;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.debounce('more-info-light-animation-finish', function() {
|
||||||
|
this.fire('iron-resize');
|
||||||
|
}.bind(this), 500);
|
||||||
},
|
},
|
||||||
|
|
||||||
computeClassNames: function(stateObj) {
|
computeClassNames: function(stateObj) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user