fix styles for copilot

This commit is contained in:
Pranav
2025-05-09 13:32:02 -07:00
parent 66fcaa5e01
commit f12214f782
4 changed files with 7 additions and 4 deletions
@@ -116,7 +116,7 @@ watch(
<div ref="chatContainer" class="flex-1 flex px-4 py-4 overflow-y-auto">
<div
v-if="messages.length"
class="space-y-6 flex-1 flex items-center justify-center"
class="space-y-6 flex-1 flex items-start justify-center"
>
<template v-for="message in messages" :key="message.id">
<CopilotAgentMessage
@@ -18,7 +18,7 @@ defineProps({
<Avatar
:name="supportAgent.available_name"
:src="supportAgent.avatar_url"
:size="24"
:size="20"
rounded-full
/>
<div class="space-y-1 text-n-slate-12">
@@ -50,7 +50,7 @@ const useCopilotResponse = () => {
<Avatar
name="Captain Copilot"
icon-name="i-woot-captain"
:size="24"
:size="20"
rounded-full
/>
<div class="flex flex-col gap-1 text-n-slate-12">
@@ -115,7 +115,10 @@ watchEffect(() => {
</script>
<template>
<div v-if="isSidebarOpen" class="border-l border-n-weak min-w-[17.5rem]">
<div
v-if="isSidebarOpen"
class="border-l border-n-weak w-[17.5rem] min-w-[17.5rem]"
>
<Copilot
:messages="messages"
:support-agent="currentUser"