diff --git a/index.html b/index.html index 26eeee19b..fb92252c5 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ -
+
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 238be88df..4fb8e0428 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -726,6 +726,10 @@ const PostStatusForm = { scrollerRef.scrollTop = targetScroll } }, + showEmojiPicker () { + this.$refs.textarea.focus() + this.$refs['emoji-input'].triggerShowPicker() + }, clearError () { this.error = null }, diff --git a/src/components/post_status_form/post_status_form.scss b/src/components/post_status_form/post_status_form.scss index ac223edb1..a79cae4a6 100644 --- a/src/components/post_status_form/post_status_form.scss +++ b/src/components/post_status_form/post_status_form.scss @@ -41,12 +41,10 @@ .form-bottom-left { display: flex; - gap: 1.5em; - - button { - padding: 0.5em; - margin: -0.5em; - } + flex: 1; + padding-right: 7px; + margin-right: 7px; + max-width: 10em; } .preview-heading { @@ -104,7 +102,7 @@ .visibility-tray { display: flex; justify-content: space-between; - padding-top: 0.5em; + padding-top: 5px; align-items: baseline; } @@ -218,10 +216,6 @@ position: relative; } - .subject-input { - border-bottom: 1px solid var(--border); - } - .character-counter { position: absolute; bottom: 0; diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 37371f1de..303413b55 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -156,68 +156,67 @@ class="preview-status" />
-
- - - - -