Skip to content
Discussion options

You must be logged in to vote

Try adding display: grid to #code-editor. Now the editor's height will match the container. If the editor's content grows taller than the container, it will begin scrolling too. Without display: grid it will overflow out of the container instead of scrolling.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by thdoan
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