mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
correct input_number slider (#449)
the nested div was unnecessary for the hidden attribute, placing directly on the paper-slider works fine. this behavior caused the slider to overflow the screen at specific points.
This commit is contained in:
parent
f24cb3eed5
commit
0bd330c76b
@ -21,12 +21,9 @@
|
||||
|
||||
<div class='horizontal justified layout'>
|
||||
<state-info state-obj="[[stateObj]]" in-dialog='[[inDialog]]'></state-info>
|
||||
<div hidden='[[hiddenslider]]'>
|
||||
<paper-slider min='[[min]]' max='[[max]]' value='{{value}}' step='[[step]]' pin
|
||||
on-change='selectedValueChanged' on-tap='stopPropagation'
|
||||
>
|
||||
</paper-slider>
|
||||
</div>
|
||||
<paper-slider min='[[min]]' max='[[max]]' value='{{value}}' step='[[step]]' hidden='[[hiddenslider]]' pin
|
||||
on-change='selectedValueChanged' on-tap='stopPropagation'>
|
||||
</paper-slider>
|
||||
<paper-input
|
||||
no-label-float
|
||||
auto-validate
|
||||
|
Loading…
x
Reference in New Issue
Block a user