mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 21:03:29 +03:00
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:
parent
76a41d4e92
commit
1d4fedf4f2
@ -793,6 +793,7 @@ body[data-user-is-dragging] .gh-editor-feature-image-dropzone {
|
||||
width: 100%;
|
||||
max-width: unset;
|
||||
min-width: auto;
|
||||
min-height: auto; /* Allows element to collapse for auto-expand calculation */
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
Loading…
Reference in New Issue
Block a user