Skip to content

Comment code is collapsed #7634

Answered by kamilkrzyskow
Wcowin asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Wcowin,
sorry about the late response, I hope the issue has been resolved.
The current behaviour with the code given is expected, hard to say what happened that it stopped working.

Before it could be displayed very long, now there is a slider and the element is squashed very short

I'm guessing that previously, the generated iframe had a constant height, but it reverted back to the default max of 150px.

You could set it with CSS:

#cusdis_thread > iframe {
  height: 30rem;
}

There is also a JavaScript solution that helps with automatic resizing, however I've not tried it:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Wcowin
Comment options

Answer selected by Wcowin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants