Forminator CSS overrides global box-sizing model
-
Hi Forminator team,
I’ve found that the file forminator/assets/forminator-ui/css/src/forminator-utilities.min.css contains a global style rule:
body *,html *{-webkit-box-sizing:border-box;box-sizing:border-box}
This can interfere with the styling of unrelated components and themes which rely on a different box-sizing model. I think that it does not seem like good practice for a plugin’s css to modify global properties as this can create collisions between this plugin and other parts of WordPress and create layout bugs which are difficult to debug.
Do you think you could scope this rule to a forminator container class instead of the global body and html elements, so that it can safely affect only your component?
- The topic ‘Forminator CSS overrides global box-sizing model’ is closed to new replies.