Skip to content

Commit

Permalink
Fixed layout problems
Browse files Browse the repository at this point in the history
  • Loading branch information
jschm42 committed Apr 11, 2024
1 parent 35659a5 commit dbd9fa8
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions frontend/src/components/chat/ChatControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,31 @@
-->

<template>
<v-card>
<v-card-actions>
<v-checkbox v-model="this.chatStore.isAutoSpeak" label="Auto speak"></v-checkbox>
<v-btn :hidden="isRegenerateRequestHidden"
@click="onRegenerateRun()">Regenerate request
</v-btn>
<v-btn :hidden="isCancelRequestHidden" @click="onCancelRun()">Cancel request</v-btn>
</v-card-actions>
<v-row>
<v-container class="mx-0" style="width: 100%">
<v-row class="flex-nowrap">
<v-col class="flex-grow-1">
<v-checkbox v-model="this.chatStore.isAutoSpeak" hide-details
label="Auto speak"></v-checkbox>
</v-col>
<v-col class="flex-grow-0 align-self-center">
<v-btn :hidden="isRegenerateRequestHidden" prepend-icon="mdi mdi-repeat"
@click="onRegenerateRun()">Regenerate
</v-btn>
</v-col>
<v-col class="flex-grow-0 align-self-center">
<v-btn :hidden="isCancelRequestHidden" prepend-icon="mdi mdi-cancel" @click="onCancelRun()">
Cancel
request
</v-btn>
</v-col>
</v-row>
<v-row class="my-0">
<v-col>
<ChatMessageInput @submit-result-received="submitResultReceived"
@chunk-update-received="chunkUpdateReceived"></ChatMessageInput>
</v-col>
</v-row>
</v-card>
</v-container>
</template>

<script>
Expand Down

0 comments on commit dbd9fa8

Please sign in to comment.