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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

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

DanWolf
14-Alexandrite

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;

}

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.

DanWolf
14-Alexandrite
(To:VíctorMartín)

Thanks!

Announcements


Top Tags