Skip to main content
12-Amethyst
Question

How to center align the tabset

I would like to center align the tabset. I have also attached the image for reference.

 

Note: I inspected and added the below CSS it worked. But if I try writing in custom CSS then it didn't work. So I need the CSS to be added.

 

justify-content: center;

7 replies

17-Peridot

Not sure about CSS.

But we approached this use case with "Button Bar" and "Expression". And, its working fine.

Translate
12-Amethyst

I need that tab to be in the middle

Translate
17-Peridot

try below code.. its working for me..

.widget-ptcstabset::part(tabs-header)::part(tabs) {
 justify-content: center;
}
Translate