make post status form typeable area bigger since we do autosizing

This commit is contained in:
Henry Jameson 2026-05-12 17:17:12 +03:00
commit c2b520140f

View file

@ -208,14 +208,14 @@
padding: 0;
}
.input.form-post-body {
textarea.input.form-post-body {
// TODO: make a resizable textarea component?
box-sizing: content-box; // needed for easier computation of dynamic size
overflow: hidden;
transition: min-height 200ms 100ms;
// stock padding + 1 line of text (for counter)
padding-bottom: calc(var(--_padding) + var(--post-line-height) * 1em);
padding-right: 1.5em;
padding-right: 0.5em;
// two lines of text
height: calc(var(--post-line-height) * 1em);
min-height: calc(var(--post-line-height) * 1em);