Reserve space for emoji picker button in emoji input

This commit is contained in:
Henry Jameson 2019-10-14 19:56:46 +03:00
parent 1400d723f2
commit 6266148745
1 changed files with 5 additions and 0 deletions

View File

@ -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;