File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 1- : root {
2- --ReactInputVerificationCode-itemWidth : 4.5rem ;
3- --ReactInputVerificationCode-itemHeight : 5rem ;
4- --ReactInputVerificationCode-itemSpacing : 1rem ;
5- }
6-
7- .ReactInputVerificationCode__container {
1+ .ReactInputVerificationCode-container {
82 display : flex;
9- gap : var ( --ReactInputVerificationCode-itemSpacing ) ;
3+ gap : 0.5 rem ;
104}
115
12- .ReactInputVerificationCode__item {
13- width : var ( --ReactInputVerificationCode-itemWidth ) ;
14- height : var ( --ReactInputVerificationCode-itemHeight ) ;
6+ .ReactInputVerificationCode-item {
7+ width : 4 rem ;
8+ height : 4 rem ;
159 padding : 0 ;
1610 border-radius : 4px ;
17- font-size : 1.5rem ;
18- font-weight : 400 ;
11+ font-size : 1.2rem ;
1912 text-align : center;
2013 border : 0 ;
21- box-shadow : inset 0 0 0 1px # ccc ;
14+ color : # 555 ;
15+ box-shadow : 0 0 0 1px # ccc ;
16+ outline : 0 ;
2217 transition : box-shadow 0.2s ease-out;
2318}
2419
25- .ReactInputVerificationCode__item : focus {
26- box-shadow : inset 0 0 0 2px # 888 ;
20+ .ReactInputVerificationCode-item : focus {
21+ box-shadow : 0 0 0 2px # 333 ;
2722}
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ const ReactInputVerificationCode = ({
212212 } , [ inputsRefs ] ) ;
213213
214214 return (
215- < div className = 'ReactInputVerificationCode__container ' >
215+ < div className = 'ReactInputVerificationCode-container ' >
216216 { /* <S.Input
217217 autoComplete='one-time-code'
218218 type='text'
@@ -224,7 +224,7 @@ const ReactInputVerificationCode = ({
224224 < input
225225 key = { i }
226226 ref = { ref }
227- className = 'ReactInputVerificationCode__item '
227+ className = 'ReactInputVerificationCode-item '
228228 data-cy = { `${ dataCy } -${ i } -item` }
229229 value = { values [ i ] }
230230 onChange = { ( event ) => onInputChange ( event , i ) }
You can’t perform that action at this time.
0 commit comments