Преглед изворни кода

fix: adjust styling for active and disabled states in Stepper component (#17485)

tags/1.2.0
GuanMu пре 7 месеци
родитељ
комит
6f636093b6
No account linked to committer's email address
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4
    4
      web/app/components/datasets/create/stepper/step.tsx

+ 4
- 4
web/app/components/datasets/create/stepper/step.tsx Прегледај датотеку

@@ -17,12 +17,12 @@ export const StepperStep: FC<StepperStepProps> = (props) => {
const label = isActive ? `STEP ${index + 1}` : `${index + 1}`
return <div className='flex items-center gap-2'>
<div className={classNames(
'h-5 px-2 py-1 rounded-3xl flex-col justify-center items-center gap-2 inline-flex',
'h-5 py-1 rounded-3xl flex-col justify-center items-center gap-2 inline-flex',
isActive
? 'bg-state-accent-solid'
? 'px-2 bg-state-accent-solid'
: !isDisabled
? 'border border-text-quaternary'
: 'border border-divider-deep',
? 'w-5 border border-text-quaternary'
: 'w-5 border border-divider-deep',
)}>
<div className={classNames(
'text-center system-2xs-semibold-uppercase',

Loading…
Откажи
Сачувај