18.0.0-beta.3 - base-style is affecting all elements
Describe the bug
Testing primeng 18.0.0-beta.3 - some of our components are visible broken because the primeng base-style is affecting all html-elements.
is forcing all elements to be box-sizing: border-box
Environment
primeng 18.0.0-beta.3
Reproducer
No response
Angular version
18.2.8
PrimeNG version
18.0.0-beta.3
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.1
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
i would expect a scoping via css-class and not defining the box-sizing for all elements
That CSS is a must have, we've also added box-sizing to before and after as well. All CSS libraries like Tailwind and Bootstrap use border-box sizing as well which is suggested. I'd definitely suggest switching your app to border-box otherwise you'll always have issues when trying to import a 3rd party UI widget whether it is PrimeNG or not.
Unfortunately, this issue cannot be fixed due to technical limitations. PrimeNg team has decided not to pursue a fix, as addressing it would introduce other complications. Thanks a lot for your understanding!