Skip to content

Commit 3ef96fc

Browse files
committed
style: fix Skeleton overflowing on mobile
1 parent 299cc0f commit 3ef96fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/frontend/app/components/chat/interface/ChatMessageCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const chatContext = useChatContext()
4444
<MDC v-else :value="message.content" class="only-child:[&>.prose-p]:my-0" />
4545
<div class="hidden first:block">
4646
<Skeleton
47-
class="h-5 w-$c-W rounded-full bg-muted-foreground" :style="{
47+
class="h-5 max-w-full w-$c-W rounded-full bg-muted-foreground" :style="{
4848
'--c-W': `${(Math.floor(Math.random() * (300 - 100 + 1)) + 100) * (message.role === 'user' ? 1 : 2)}px`,
4949
}"
5050
/>

0 commit comments

Comments
 (0)