commit: cd021bc6df8360d3b1ae71284255f81ccb1b8a85
parent d4bd64a5f5fb95cd1050ced9f1029ebbe057b6c4
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 21 Apr 2022 19:57:00 +0300
cleanup & more fixes for alignments and sizing
Diffstat:
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
@@ -408,6 +408,7 @@
display: flex;
justify-content: space-between;
padding-top: 5px;
+ align-items: baseline;
}
.media-upload-icon, .poll-icon, .emoji-icon {
@@ -502,25 +503,15 @@
display: flex;
flex-direction: column;
padding: 0.25em 0.5em 0.5em;
- line-height:24px;
- }
-
- form textarea.form-cw {
- line-height:16px;
- resize: none;
- overflow: hidden;
- transition: min-height 200ms 100ms;
- min-height: 1px;
+ line-height: 1.85em;
}
.form-post-body {
- height: 16px; // Only affects the empty-height
- line-height: 16px;
resize: none;
overflow: hidden;
transition: min-height 200ms 100ms;
padding-bottom: 1.75em;
- min-height: 1px;
+ min-height: 2em;
box-sizing: content-box;
&.scrollable-form {