diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-13 02:27:53 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-13 02:27:53 +0200 |
| commit | c16f1d4e35f2d885d2aa4e5f1ee51af9e95c6bdc (patch) | |
| tree | d45a4f69a839e4c04ffbb17c411dec6c3605ce42 /src/components/post_status_form | |
| parent | bcc50844096b47c0656ed3338de222055a749fb1 (diff) | |
more fixes
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 7 |
1 files changed, 3 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 a5300083..1ece3c42 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -171,7 +171,7 @@ :disabled="posting && !optimisticPosting" v-bind="propsToNative(inputProps)" size="1" - class="form-post-subject" + class="input form-post-subject" > </template> </EmojiInput> @@ -198,7 +198,7 @@ rows="1" cols="1" :disabled="posting && !optimisticPosting" - class="form-post-body" + class="input form-post-body" :class="{ 'scrollable-form': !!maxHeight }" v-bind="propsToNative(inputProps)" @keydown.exact.enter="submitOnEnter && postStatus($event, newStatus)" @@ -555,7 +555,7 @@ line-height: 1.85; } - .form-post-body { + .input.form-post-body { // TODO: make a resizable textarea component? box-sizing: content-box; // needed for easier computation of dynamic size overflow: hidden; @@ -566,7 +566,6 @@ height: calc(var(--post-line-height) * 1em); min-height: calc(var(--post-line-height) * 1em); resize: none; - text: inherit; background: transparent; &.scrollable-form { |
