fix styles for copilot
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user