Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
It appears that Power BI custom visual always include visualsandbox.min.css which applies some styles to most tags in the document.
I have a web application loaded into custom visual and some of my styles are looking weird because of the CSS applied by visualsandbox.min.css.
I wonder if there is a way to have a "clean" custom visual iframe without any other styles applied to it?
Solved! Go to Solution.
You got the point. As far as I know, there is no such a switch.
I've just realised I could have used javascript to find link tag and disable visualsandbox.min.css.
Still, I wonder if there's a flag or any official API to disable it.
You got the point. As far as I know, there is no such a switch.