JonathanAhrenkiel-Frellsen opened a new issue, #34830: URL: https://github.com/apache/superset/issues/34830
## Screenshot Dashboard in superset: <img width="1898" height="783" alt="Image" src="https://github.com/user-attachments/assets/3b2b6f35-0c36-42a9-b4c7-d798127e1299" /> Dashboard in iframe: <img width="1644" height="845" alt="Image" src="https://github.com/user-attachments/assets/1d40715e-2983-4519-9331-6ee40afa59b3" /> ## Description I am running a self-hosted Superset instance (using the official `docker-compose.yml` setup). When embedding a dashboard in an iframe using `@superset-ui/embedded-sdk`, the layout/appearance inside the iframe does not match the original dashboard. I expect the iframe version to look identical to the normal dashboard view, but the embedded version looks different (see attached screenshots). Environment details: - Superset: self-hosted via docker-compose - Browser: Chrome - SDK: `@superset-ui/embedded-sdk` Embed code I am using: ```ts embedDashboard({ id, supersetDomain: "...", mountPoint: containerRef.current!, fetchGuestToken: async () => getGuestToken({ DashboardId: id }, token), dashboardUiConfig: { hideTitle: true, urlParams: { standalone: 1 }, }, iframeSandboxExtras: ["allow-same-origin", "allow-scripts"], }) .then(() => { console.log("Dashboard embedded"); }) .catch((err) => { console.error("Embedding failed", err); }); ``` ## Additional Notes I do not think this issue is related to global styles or index.css. I verified this by testing with a minimal setup that had no global styling. The problem appears to be chart sizing, the charts in the iframe render at the wrong sizes, not due to unnecessary padding. I confirmed this by inspecting the CSS in the browser. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org