Fixed subtitle not fully collapsing for auto-expansion

closes https://linear.app/tryghost/issue/MOM-149

- our styles set all `textarea` elements to have a min-height of 100px which wasn't being overridden for our subtitle element meaning our auto-expand code was never able to fully collapse it to a single line
This commit is contained in:
Kevin Ansfield 2024-06-03 12:57:34 +01:00
parent 76a41d4e92
commit 1d4fedf4f2

View File

@ -793,6 +793,7 @@ body[data-user-is-dragging] .gh-editor-feature-image-dropzone {
width: 100%; width: 100%;
max-width: unset; max-width: unset;
min-width: auto; min-width: auto;
min-height: auto; /* Allows element to collapse for auto-expand calculation */
margin: 0; margin: 0;
padding: 0; padding: 0;
border: none; border: none;