move emoji icon to bottom-left for textareas

This commit is contained in:
Henry Jameson 2026-05-10 15:14:20 +03:00
commit b8dabf3a6b
2 changed files with 18 additions and 8 deletions

View file

@ -208,14 +208,11 @@
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;
// two lines of text
height: calc(var(--post-line-height) * 1em);
min-height: calc(var(--post-line-height) * 1em);