I'm doing something like this in my css to adjust how the tabs on the render:
.k-tabstrip-items {
align-self: left;
background-color: green;
margin-top: 8px;
margin-bottom: 8px;
height: 32px;
border: 1px solid black !important;
width: 70% !important;
margin-left: 5%;
}
But I need to dynamically adjust the margin so sometimes the tabstrip is centered and sometimes it has the margin above.
So I want to conditionally add something like this:
.k--items-addon {
margin-right: auto;
margin-left: auto;
}
I don't see anything in the API that allows me to pass a class for the items so that I can dynamically change things in my template or class. Any ideas?