aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-04-26 00:07:51 +0300
committerHenry Jameson <me@hjkos.com>2022-04-26 00:08:55 +0300
commit318c62c8526f2513f9760dba9ccc48d8c27c7645 (patch)
tree84c3fafab77fb67c606ef91e04770e51dff9b7ef /src/components/post_status_form
parent2a6f42fef3ff9c087aab4589d229e0f6c1b45c90 (diff)
reduce height of post form by default
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.vue10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index ebeead07..a967d3a3 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -507,12 +507,14 @@
}
.form-post-body {
- resize: none;
+ box-sizing: content-box;
overflow: hidden;
transition: min-height 200ms 100ms;
- padding-bottom: 1.75em;
- min-height: 2em;
- box-sizing: content-box;
+ padding-bottom: calc(var(--padding) + 1.2em);
+ // Because we changed box-sizing original height values are no longer correct
+ height: 1.2em;
+ min-height: 1.2em;
+ resize: none;
&.scrollable-form {
overflow-y: auto;