You need to sign in to do that
Don't have an account?
Bhanu Tanaka 5
How to reduce the width of a lightning-tabset (vertical)
Hello - I'm trying to figure out how to reduce the width of a lightning-tabset set to the vertical variant. Our tab labels are very short (3 chars) and I'd like to save on the screen real estate. Current code as follows:
Thank you!
<lightning-tabset variant="vertical"> <template for:each={practiceList} for:item="practice"> <lightning-tab label={practice.systemOfRecord} key={practice.id}> <c-covetrus-practice practice={practice} oncovetrusshowactivitydetail={showActivityDetail} ></c-covetrus-practice> </lightning-tab> </template> </lightning-tabset>
Thank you!
https://www.lightningdesignsystem.com/components/tabs/
I see a standard class and style have given for the tabs in the vertical variant. As Raj said, the only way is to override the style for your case.
Naveen