Skip to content

Commit

Permalink
Remove full width stepper input
Browse files Browse the repository at this point in the history
  • Loading branch information
DarksightKellar committed Dec 7, 2024
1 parent eff0a48 commit d9a2739
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function DayStepperInput({
<InputGroup>
<Flex
flexDirection="column"
w="100%"
gap="0.5rem"
w="250"
>
<NumberStepperInput
unitHint={t('days', { ns: 'common' })}
Expand Down
10 changes: 6 additions & 4 deletions src/components/DaoCreator/formComponents/Multisig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,12 @@ export function Multisig(props: ICreationStepProps) {
}
isRequired
>
<NumberStepperInput
onChange={value => validateNumber(value, 'multisig.signatureThreshold')}
value={values.multisig.signatureThreshold}
/>
<Flex w="200px">
<NumberStepperInput
onChange={value => validateNumber(value, 'multisig.signatureThreshold')}
value={values.multisig.signatureThreshold}
/>
</Flex>
</LabelComponent>
</Flex>
</StepWrapper>
Expand Down
1 change: 0 additions & 1 deletion src/components/ui/forms/NumberStepperInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export function NumberStepperInput({
onChange={onChange}
min={0}
focusInputOnChange
w="100%"
>
<HStack gap="0.25rem">
<NumberDecrementStepper>{stepperButton('dec')}</NumberDecrementStepper>
Expand Down

0 comments on commit d9a2739

Please sign in to comment.