dosubot[bot] commented on issue #40429: URL: https://github.com/apache/superset/issues/40429#issuecomment-4541667758
<!-- Answer --> This is closely related to issue #40428 (which you also filed) about charts overlapping with Table charts during image export. Both stem from the same underlying causes: 1. **CSS box-sizing issue** — `.dashboard-component-chart-holder` uses `content-box` instead of `border-box`, so its padding overflows the container and causes content to exceed boundaries [[1]](https://github.com/apache/superset/issues/40428). 2. **Scrollable content expansion during export** — The image export utility sets `overflow: visible` and `height: auto` on scrollable containers to capture full table content, but this causes the table to expand beyond its grid slot horizontally and vertically [[1]](https://github.com/apache/superset/issues/40428). Several PRs have addressed this: - [PR #34233](https://github.com/apache/superset/pull/34233) — rewrote image export to capture full table content - [PR #36375](https://github.com/apache/superset/pull/36375) — added `box-sizing: border-box` globally - [PR #38781](https://github.com/apache/superset/pull/38781) (merged April 2026) — comprehensive fix for ag-grid table rendering during export, including print layout mode switching and column width stabilization **Immediate workaround:** Add this CSS override to your dashboard: ```css .dashboard-component-chart-holder { box-sizing: border-box; } ``` Since you're on version 6.0.0, you likely don't have the patches from PRs #38781 or #38536. Upgrading to a more recent build that includes these fixes should resolve the horizontal overflow during image download. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=2dbc2578-56bc-4734-ab93-80eb60bada94) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
