diff --git a/src/assets/css/chat.scss b/src/assets/css/chat.scss index 1203c5c..e615480 100644 --- a/src/assets/css/chat.scss +++ b/src/assets/css/chat.scss @@ -625,11 +625,14 @@ $admin-fg: white; } .voice-recorder { - position: absolute; - //top: 0; - left: 10px; - bottom: 0px; - right: 10px; + position: relative; + margin-top: 14px !important; + &.ptt { + position: absolute; + left: 10px; + bottom: 0px; + right: 10px; + } border-radius: 10px; background-color: black; overflow: hidden; diff --git a/src/components/Chat.vue b/src/components/Chat.vue index 228ff8b..011a76e 100644 --- a/src/components/Chat.vue +++ b/src/components/Chat.vue @@ -127,7 +127,7 @@ background-color="white" v-on:keydown.enter.prevent=" () => { - sendMessage(); + sendCurrentTextMessage(); } " /> @@ -150,7 +150,7 @@ mic @@ -175,7 +175,7 @@ small elevation="0" color="black" - @click.stop="sendMessage" + @click.stop="sendCurrentTextMessage" :disabled="sendButtonDisabled" > {{ @@ -187,6 +187,7 @@