cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How can I change a tab widget content's margin?

DanWolf
12-Amethyst

How can I change a tab widget content's margin?

Using the Tabs widget in ThingWorx 8.5.7, it adds a 20px margin around the content of each tab.  Is there a way to remove or reduce that margin?

 

DanWolf_0-1597772432075.png

 

 

I found another topic here about adjusting the margin in a Tabs widget with a solution of the custom CSS below, but adding that CSS doesn't change anything for me.

 

ptcs-page-select::part(pages)

{

margin: 10px !important;

}

1 ACCEPTED SOLUTION

Accepted Solutions

Try with this:

 

.widget-ptcstabset::part(pages) {
margin: 0px !important;
}

 

It worked for me in TW 9.

View solution in original post

2 REPLIES 2

Try with this:

 

.widget-ptcstabset::part(pages) {
margin: 0px !important;
}

 

It worked for me in TW 9.

Thanks!

Top Tags