make post status form typeable area bigger since we do autosizing
This commit is contained in:
parent
a0681ca17c
commit
c2b520140f
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue