You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 03:04:08 UTC
Re: [D] Markdown component appears narrower than charts when embedding a dashboard [superset]
GitHub user dosubot[bot] edited a comment on the discussion: Markdown component appears narrower than charts when embedding a dashboard
<!-- Answer -->
The Markdown component and chart use the same grid width logic in Superset, so any difference in embedded dashboards is usually due to CSS in the embedding context. To make the Markdown block fill its grid column consistently, add the following CSS to your embedding app:
```css
.dashboard-component-chart-holder {
width: 100%;
box-sizing: border-box;
}
```
This ensures the Markdown container fills its grid space just like charts do. This fix was shared by another user and made the embedded dashboard visually match the native view [source](https://github.com/apache/superset/issues/34830). Also, double-check your iframe/container sizing to match the dashboard's native dimensions for best results.
<!-- 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).*
---
Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-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=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=91829bdf-8631-47b1-8220-7485e63499e3) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-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=static-docs-share-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/35849#discussioncomment-14789878
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org