Skip to content

Commit 02cf16a

Browse files
committed
fix(ChatBubble): message regen menu, moved from gap to bottom padding to fix high bubble menus
1 parent 5df544b commit 02cf16a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/Chat/Bubble/ChatBubble.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function resizeTextarea() {
4646
<div
4747
v-if="message"
4848
:class="[
49-
'flex cursor-default w-full',
49+
'flex cursor-default w-full pb-4',
5050
message.role === 'user'
5151
? 'flex-row-reverse chat-bubble-user'
5252
: 'flex-row chat-bubble-assistant',

app/components/Chat/ChatContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ watch(bottomPadding, () => {
7878
class="h-full w-full overflow-x-hidden overflow-y-auto pt-2 chat-container focus:outline-none"
7979
>
8080
<div
81-
class="max-w-(--chat-max-width) mx-auto px-6 flex flex-col gap-4 chat-container-content"
81+
class="max-w-(--chat-max-width) mx-auto px-6 flex flex-col chat-container-content"
8282
>
8383
<div :style="{ height: topPadding + 'px' }" />
8484
<div v-for="message in activeMessages" :key="message?.id" v-measure>

0 commit comments

Comments
 (0)