refactor(ui): better button, tab caomponents

This commit is contained in:
liyasthomas
2021-08-22 12:58:43 +05:30
parent 22e73a4d83
commit 1bea0a42d7
18 changed files with 56 additions and 75 deletions

View File

@@ -167,7 +167,7 @@
{{ $t("websocket.communication") }}
</label>
</div>
<div class="flex px-4">
<div class="flex space-x-2 px-4">
<input
id="websocket-message"
v-model="communication.input"
@@ -175,7 +175,7 @@
type="text"
:disabled="!connectionState"
:placeholder="$t('websocket.message')"
class="input !rounded-r-none"
class="input"
@keyup.enter="connectionState ? sendMessage() : null"
@keyup.up="connectionState ? walkHistory('up') : null"
@keyup.down="connectionState ? walkHistory('down') : null"
@@ -184,7 +184,6 @@
id="send"
name="send"
:disabled="!connectionState"
class="rounded-l-none"
:label="$t('action.send')"
@click.native="sendMessage"
/>