File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 2121}
2222
2323$baseClass : ' vant-stepper' ;
24- .step -container {
24+ .vant-stepper -container {
2525 display : flex ;
2626 justify-content : center ;
2727 align-items : center ;
2828 margin : 0px ;
2929 padding : 0px ;
30- img {
31- width : 12px ;
32- height : auto ;
33- }
30+
3431 input {
3532 margin : 0px 2px ;
3633 border-radius : 5px ;
@@ -98,7 +95,6 @@ button.#{$baseClass} {
9895 display : flex ;
9996 justify-content : center ;
10097 align-items : center ;
101- margin : auto ;
10298
10399 & __disabled {
104100 cursor : not-allowed ;
@@ -107,8 +103,8 @@ button.#{$baseClass} {
107103 & __theme {
108104 border-radius : 50% ;
109105 outline : none ;
110- width : 22 px ;
111- height : 22 px ;
106+ width : 25 px ;
107+ height : 25 px ;
112108 background-color : red ;
113109 border-color : white ;
114110 .minus ::before {
@@ -151,8 +147,8 @@ input.#{$baseClass} {
151147 }
152148 & __theme {
153149 border-radius : 50% ;
154- width : 32 px ;
155- height : 22 px ;
150+ width : 25 px ;
151+ height : 25 px ;
156152 background-color : white ;
157153 }
158154}
@@ -177,7 +173,6 @@ input.#{$baseClass} {
177173 justify-content : center ;
178174 align-items : center ;
179175 border-radius : 10px ;
180- margin : auto ;
181176 opacity : 0 ;
182177}
183178.load {
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ export default function Stepper({
219219 }
220220 } , [ disableInput ] ) ;
221221 return (
222- < div className = 'step -container' >
222+ < div className = 'vant-stepper -container' >
223223 < button
224224 id = 'minus'
225225 onClick = { handleDecrement }
You can’t perform that action at this time.
0 commit comments