mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 23:36:36 +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'>
|
<div class='horizontal justified layout'>
|
||||||
<state-info state-obj="[[stateObj]]" in-dialog='[[inDialog]]'></state-info>
|
<state-info state-obj="[[stateObj]]" in-dialog='[[inDialog]]'></state-info>
|
||||||
<div hidden='[[hiddenslider]]'>
|
<paper-slider min='[[min]]' max='[[max]]' value='{{value}}' step='[[step]]' hidden='[[hiddenslider]]' pin
|
||||||
<paper-slider min='[[min]]' max='[[max]]' value='{{value}}' step='[[step]]' pin
|
on-change='selectedValueChanged' on-tap='stopPropagation'>
|
||||||
on-change='selectedValueChanged' on-tap='stopPropagation'
|
|
||||||
>
|
|
||||||
</paper-slider>
|
</paper-slider>
|
||||||
</div>
|
|
||||||
<paper-input
|
<paper-input
|
||||||
no-label-float
|
no-label-float
|
||||||
auto-validate
|
auto-validate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user