# Automatic style class assignment?

**URL:** <https://forum.inductiveautomation.com/t/automatic-style-class-assignment/47751>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 14, 2021, 3:45pm UTC](https://forum.inductiveautomation.com/t/automatic-style-class-assignment/47751 "2021-06-14T15:45:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 14, 2021, 8:47pm UTC](https://forum.inductiveautomation.com/t/automatic-style-class-assignment/47751/4 "2021-06-14T20:47:50Z")

</div>

That `padding: 0` is indeed coming from an automatically applied style generated by our code.  
You can override by using a more specific selector, or force it with `!important`; see this post for more info:

> [@(feature-2943) Perspective Accordion](http://forum.inductiveautomation.com/t/perspective-accordion/47508/21):
>
> you could technically override whatever CSS you want there are some issues you might run into though CSS Specificity might cause your overridden CSS to not work, you could use !important to force it, but that’s not good CSS practice. You’ll notice that for my .ia\_accordionComponent\_\_body--expanded style I had to increase my CSS specificity by adding .ia\_accordionComponent\_\_body to it so that it has a higher CSS specificity than what the original style was. Further reading on specificity can…

---

_[View the full topic](https://forum.inductiveautomation.com/t/automatic-style-class-assignment/47751)._
