Skip to content

Commit

Permalink
Fix: mobile style (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickimoore authored Feb 17, 2025
1 parent c1489fc commit 9da8ad6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/HorizontalStepper/HorizontalStepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const HorizontalStepper: FC<HorizontalStepperProps> = ({ children, steps }) => {
</motion.div>
<ProgressBar total={totalSteps} position={currentStep + 1} />
</div>
<div className='w-full lg:h-full relative createSlide'>
<div className='w-full relative createSlide'>
<Carousel swiping={false} slideIndex={currentStep} dragging={false} withoutControls>
{slides.map((child, index) => (
<div key={index} className='sm:h-full w-full'>
Expand Down
4 changes: 3 additions & 1 deletion src/components/SideBar/SideItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const SideItem: FC<SideItemProps> = ({ children, isActive, className, href, isDi
</Link>
)
return isDisabled ? (
<DisabledTooltip place='right'>{renderContent()}</DisabledTooltip>
<div className='w-full flex items-center justify-center'>
<DisabledTooltip place='right'>{renderContent()}</DisabledTooltip>
</div>
) : (
renderContent()
)
Expand Down

0 comments on commit 9da8ad6

Please sign in to comment.