mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 06:16:38 +00:00
fix:style current form stepper step
This commit is contained in:
parent
1963dfb830
commit
289f142b4b
@ -95,6 +95,9 @@ const FormStepper = ({ activeStep }: FormStepperProps) => {
|
|||||||
completed={activeStep > originalIndex - 1}
|
completed={activeStep > originalIndex - 1}
|
||||||
data-subtitle={step.subtitle}
|
data-subtitle={step.subtitle}
|
||||||
data-step={step.label}
|
data-step={step.label}
|
||||||
|
style={
|
||||||
|
originalIndex === activeStep ? { backgroundColor: stepStyle.currentBgColor } : {}
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
@ -121,6 +124,7 @@ const stepStyle = {
|
|||||||
labelFontSize: '13px',
|
labelFontSize: '13px',
|
||||||
borderRadius: '50%',
|
borderRadius: '50%',
|
||||||
fontWeight: 700,
|
fontWeight: 700,
|
||||||
|
currentBgColor: '#808080',
|
||||||
}
|
}
|
||||||
|
|
||||||
const customConnectorStyle = {
|
const customConnectorStyle = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user