I’m always struggling with borders and padding in Anvil.
I have a custom role section-header that I have applied to a Label. A have a custom css asset that defines the CSS styling. It all works technically but I’m unable to obtain the desired result, which is simply: a label with a bottom border without padding.
The problem turns out to be that the styling of the custom CSS is overridden by Anvil.
because, of course, this does not change order of the application of the stylesheets.
It is puzzling to me that my custom style is overridden by any style. Is there a way to force my stylesheet to the top?
Or any other hack to fix spacing?