File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export function DInput(props: DInputProps): JSX.Element | null {
171171 { ...restProps }
172172 className = { getClassName ( restProps . className , `${ dPrefix } input` , {
173173 [ `${ dPrefix } input--${ size } ` ] : size ,
174- [ `${ dPrefix } input--number ` ] : dType === 'number' ,
174+ [ `${ dPrefix } input--button-right ` ] : dType === 'number' && dNumbetButton && ! disabled && ! checkNodeExist ( dSuffix ) ,
175175 'is-disabled' : disabled ,
176176 'is-focus' : isFocus ,
177177 } ) }
Original file line number Diff line number Diff line change 4444 border-color : var (--#{$rd-prefix}color-primary-lighter );
4545 }
4646
47- @include m (number) {
48- & :not (.is-disabled ) {
49- padding-right : 0 ;
50- @include e (suffix ) {
51- margin-right : calc (var (--#{$rd-prefix}horizontal-space-size ) - 1px );
52- }
53- }
47+ @include m (button- right) {
48+ padding-right : 0 ;
5449 }
5550
5651 @include e (input) {
You can’t perform that action at this time.
0 commit comments