In my project, there are 2 clarity tabs (you can view the StackBlitz reference here).
https://i.sstatic.net/jhLcn.png
I want to apply the padding-left
property specifically to Tab1 (the tab label itself, not the content) in order to create some space around it. Through Chrome Dev Tools, I have identified that the needed selector is the ul.nav
element inside the clr-tabs
component.
Despite adding a CSS property in the app.component.css
file like this:
ul.nav {
padding-left: 1rem !important;
}
No visible changes occur. How can I successfully add the padding
property to these tabs?