Embedded visualizations not responsive #6862
Unanswered
MarioZWirall
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are embedding individual visualizations in our website, using "Embed Elsewhere" link and iframe. We noticed the chart width grows to fit the iframe width, but the height doesn't. The visualizations seem to have a fixed height. Also, the vertical scrollbar is always visible, even if we make the iframe larger than the chart. Looks like there's always a few extra pixels above or below the chart container.
Is there a way to customize this and make the charts more responsive?
EDIT: The scrollbar seems to be related to a "padding-top: 10px;" inside body.headless. Is there a way to remove it? I can't modify the CSS from our frontend, it's a cross-origin request.
Beta Was this translation helpful? Give feedback.
All reactions