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

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

SOLVED
DanWolf
Marble

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

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

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

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

Try with this:

 

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

 

It worked for me in TW 9.

View solution in original post

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

Thanks!

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.