Devwares-Team / cdbreact

Contrast Design Bootstrap : Elegant UI Kit and reusable components for building mobile-first, responsive websites and web apps

Home Page:https://www.devwares.com/product/contrast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stepper component spacing when hiding title

buildxyz-git opened this issue · comments

When I set the showTitle prop on CDBStepper to false, there is uneven spacing:

<CDBStepper
    direction="vertical"
    stepSize={45}
    showTitle={false}
    showTooltip={true}
...

Screenshot 2023-04-11 at 2 24 56 PM

Additionally, is there any chance we can separate showTitle and add a new prop showIndex for those who want to keep the step number but drop the title? I think this may be valuable when viewing on Mobile.

@buildxyz-git This issue has been resolved in the latest update for cdbreact pro and in the new version of cdbreact. You should have received an email to download the new version of the pro library.

The documentation has been updated as well stepper doc. Let me know if this was resolved on your end after the update