1
0
Fork 0
mirror of https://github.com/m1k1o/neko.git synced 2025-08-13 09:18:31 +02:00

yay emoji!!!

This commit is contained in:
Craig 2020-02-01 20:35:48 +00:00
commit 98980cc565
36 changed files with 2211 additions and 11779 deletions
client/src/components

View file

@ -42,9 +42,8 @@
v-model="content"
@click.stop.prevent="emoji = false"
/>
<div class="emoji" @click.stop.prevent="emoji = !emoji">
<neko-emoji v-if="emoji" @picked="onEmojiPicked" />
</div>
<neko-emoji v-if="emoji" @picked="onEmojiPicked" />
<i class="emoji-menu fas fa-laugh" @click.stop.prevent="emoji = !emoji"></i>
</div>
</div>
</div>
@ -101,6 +100,8 @@
word-wrap: break-word;
&.message {
font-size: 16px;
.author {
flex-grow: 0;
flex-shrink: 0;
@ -134,7 +135,6 @@
display: inline-block;
color: $text-normal;
font-weight: 500;
font-size: 16px;
}
.timestamp {
@ -152,7 +152,7 @@
::v-deep .content-body {
color: $text-normal;
line-height: 20px;
line-height: 22px;
word-wrap: break-word;
overflow-wrap: break-word;
@ -273,14 +273,15 @@
height: 100%;
background-color: rgba($color: #fff, $alpha: 0.05);
border-radius: 5px;
position: relative;
display: flex;
.emoji {
.emoji-menu {
width: 20px;
height: 20px;
// background: #fff;
margin: 3px 3px 0 0;
position: relative;
font-size: 20px;
margin: 8px 5px 0 0;
cursor: pointer;
}
textarea {