Hi David, most of Tecton components are styled with css variables which can be overwritten by theme or even with inline styling such as padding, gap between tabs and bottom border and so on.
For instance, defining this in your css "--comp-container-padding: 5px" should work to modify the padding of UL tag.
But it looks like the margin on top and bottom on ul tag in q2-tab-container's UL tag has default margin and we don't have a css variable defined for the margin unfortunately.
So for now, your code does the job perfectly with the mannual DOM api javascript, but if you need to change other attributes then you should look for a css variables first.
Let me know if you have any questions.
Thanks
Alex
For what it's worth, I'm using this same approach and it seems to be working alright. Having a different way to do it would be nice, but I'm not sure what the possibilites are on Q2's end.
— Brock Caldwell 3 years ago