aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji_input/emoji_input.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-11-08 22:01:42 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-11-08 22:01:42 +0000
commit2b68134ab01266913b89b79ea6c3e9575278ecb2 (patch)
tree69a410f34429c52c7cdd335e1bdfeba795ba8f6c /src/components/emoji_input/emoji_input.vue
parent5679dcdd18750a1fc9ac1d4eeea3fd3b642a2151 (diff)
parenta3501d58d8703379d5f60e1bb53dfb0dbb1022b2 (diff)
Merge branch 'emoji-optimizations' into 'develop'
Emoji fixes, optimizations and improvements Closes #690, #686, #682, #674, and #678 See merge request pleroma/pleroma-fe!969
Diffstat (limited to 'src/components/emoji_input/emoji_input.vue')
-rw-r--r--src/components/emoji_input/emoji_input.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/emoji_input/emoji_input.vue b/src/components/emoji_input/emoji_input.vue
index 13530e8b..a7215670 100644
--- a/src/components/emoji_input/emoji_input.vue
+++ b/src/components/emoji_input/emoji_input.vue
@@ -2,6 +2,7 @@
<div
v-click-outside="onClickOutside"
class="emoji-input"
+ :class="{ 'with-picker': !hideEmojiButton }"
>
<slot />
<template v-if="enableEmojiPicker">
@@ -63,6 +64,10 @@
flex-direction: column;
position: relative;
+ &.with-picker input {
+ padding-right: 30px;
+ }
+
.emoji-picker-icon {
position: absolute;
top: 0;