Skip to content

Commit

Permalink
[INJIVER-794] fix mobile stepper alignment
Browse files Browse the repository at this point in the history
Signed-off-by: srikanth716 <[email protected]>
  • Loading branch information
srikanth716 committed Dec 17, 2024
1 parent 0e0668e commit 49dc9d9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ function MobileStepper(props: any) {
id="stepper">
{
getRangeOfNumbers(stepCount).map((value, index) => (
<div key={index}>
<div key={index} className='flex flex-column items-center'>
<Step stepNumber={value} activeOrCompleted={value <= activeScreen} />
{(value < stepCount) && (<div className={`bg-${window._env_.DEFAULT_THEME}-gradient p-[1px] w-[44px] ${value >= activeScreen ? "opacity-20" : ""}`}><div className={stepperLine}/></div>)}
{(value < stepCount) && (<div className={`bg-${window._env_.DEFAULT_THEME}-gradient p-[1px] w-[44px] h-[1px] ${value >= activeScreen ? "opacity-20" : ""}`}><div className={stepperLine}/></div>)}
</div>
))
}
Expand All @@ -85,4 +85,4 @@ function MobileStepper(props: any) {
);
}

export default MobileStepper;
export default MobileStepper;

0 comments on commit 49dc9d9

Please sign in to comment.