My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Make editor textarea height: auto

Paul-Sebastian Manole's photo
Paul-Sebastian Manole
·Oct 19, 2021·

1 min read

Editing long posts is cumbersome because of the double scrollbars. Making the editor text area height: auto means that it will cover the entire viewport height and scrolling of the content will be directed to its scrollbar only. Setting a min-height might also be needed when height is auto, so that when there is no content yet, it won't be too small.