Currently, I am facing a situation where an external javascript file is being loaded onto the page based on a query parameter. The file includes UI components along with their styles. However, upon loading the file, it disrupts the styling of the entire page.
I am finding it difficult to comprehend why elements on the page share the same CSS classes but appear differently.
Page Layout Without External JS File
https://i.sstatic.net/4injN.png
Page Layout With External JS File
https://i.sstatic.net/BrcNf.png
Thank you for your assistance.