File tree Expand file tree Collapse file tree 3 files changed +28
-7
lines changed Expand file tree Collapse file tree 3 files changed +28
-7
lines changed Original file line number Diff line number Diff line change 3737}
3838
3939h2 , h3 , h4 {
40- margin : 30px 0 10px ;
40+ margin-top : 2em ;
41+ margin-bottom : 0.5em ;
4142}
4243
4344h2 + .rangeSlider .rangeSlider , h3 + .rangeSlider .rangeSlider , h4 + .rangeSlider .rangeSlider {
44- margin-top : 10 px ;
45+ margin-top : 1 em ;
4546}
4647
4748.pipVal-prefix {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default {
2121 // we'll extract any component CSS out into
2222 // a separate file - better for performance
2323 css : css => {
24- css . write ( 'public/build/ bundle.css' ) ;
24+ css . write ( 'bundle.css' ) ;
2525 }
2626 } ) ,
2727
Original file line number Diff line number Diff line change 108108
109109 <div class ="content" style ="--range-handle-focus: {color }; --range-handle: {lightColor }" >
110110
111+ <h2 >Vertical Tests</h2 >
111112
112113 <section style =" display: flex; justify-content: space-evenly;" >
113114 <RangeSlider vertical pips all ="label" {reversed } {hoverable } {disabled } />
125126 <br >
126127 <h2 >Spring & Colors Test</h2 >
127128 <br >
128- springValues = stiffness: .05, damping: 0.05
129- <RangeSlider id ="test-id" springValues ={{ stiffness : .05 , damping : 0.05 }} bind:values {reversed } {hoverable } {disabled } />
130- <RangeSlider id ="test-id" springValues ={{ stiffness : .1 , damping : .857 }} bind:values {reversed } {hoverable } {disabled } />
131- springValues = stiffness: .1, damping: .85
129+
130+ <table >
131+ <tr >
132+ <th width =" 50" >stiffness</th >
133+ <th width =" 50" >damping</th >
134+ <th >result</th >
135+ </tr >
136+ <tr >
137+ <td ><code >0.75</code ></td >
138+ <td ><code >0.1</code ></td >
139+ <td ><RangeSlider id ="test-id3" springValues ={{ stiffness : .75 , damping : 1 }} bind:values {reversed } {hoverable } {disabled } /></td >
140+ </tr >
141+ <tr >
142+ <td ><code >0.1</code ></td >
143+ <td ><code >0.85</code ></td >
144+ <td ><RangeSlider id ="test-id2" springValues ={{ stiffness : .1 , damping : .857 }} bind:values {reversed } {hoverable } {disabled } /></td >
145+ </tr >
146+ <tr >
147+ <td ><code >0.05</code ></td >
148+ <td ><code >0.05</code ></td >
149+ <td ><RangeSlider id ="test-id" springValues ={{ stiffness : .05 , damping : 0.05 }} bind:values {reversed } {hoverable } {disabled } /></td >
150+ </tr >
151+ </table >
132152
133153 <br >
134154
You can’t perform that action at this time.
0 commit comments