cleanup & more fixes for alignments and sizing

This commit is contained in:
Henry Jameson 2022-04-21 19:57:00 +03:00
parent d4bd64a5f5
commit cd021bc6df

View file

@ -408,6 +408,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding-top: 5px; padding-top: 5px;
align-items: baseline;
} }
.media-upload-icon, .poll-icon, .emoji-icon { .media-upload-icon, .poll-icon, .emoji-icon {
@ -502,25 +503,15 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0.25em 0.5em 0.5em; padding: 0.25em 0.5em 0.5em;
line-height:24px; line-height: 1.85em;
}
form textarea.form-cw {
line-height:16px;
resize: none;
overflow: hidden;
transition: min-height 200ms 100ms;
min-height: 1px;
} }
.form-post-body { .form-post-body {
height: 16px; // Only affects the empty-height
line-height: 16px;
resize: none; resize: none;
overflow: hidden; overflow: hidden;
transition: min-height 200ms 100ms; transition: min-height 200ms 100ms;
padding-bottom: 1.75em; padding-bottom: 1.75em;
min-height: 1px; min-height: 2em;
box-sizing: content-box; box-sizing: content-box;
&.scrollable-form { &.scrollable-form {