File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function cleanMarkdown(text: string): string {
2020 </script >
2121
2222<template >
23- <UCollapsible v-model:open =" open" class =" flex flex-col gap-1" >
23+ <UCollapsible v-model:open =" open" class =" flex flex-col gap-1 my-5 " >
2424 <UButton
2525 class =" p-0 group"
2626 color =" neutral"
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const formatValue = (value: string | number | undefined): string => {
5656 </script >
5757
5858<template >
59- <div v-if =" invocation.state === 'output-available'" >
59+ <div v-if =" invocation.state === 'output-available'" class = " my-5 " >
6060 <div v-if =" invocation.output.title" class =" flex items-center gap-2 mb-2" >
6161 <UIcon name =" i-lucide-line-chart" class =" size-5 text-primary shrink-0" />
6262 <div class =" min-w-0" >
@@ -113,7 +113,7 @@ const formatValue = (value: string | number | undefined): string => {
113113 </div >
114114 </div >
115115
116- <div v-else class =" rounded-xl px-5 py-4" :class =" color" >
116+ <div v-else class =" rounded-xl px-5 py-4 my-5 " :class =" color" >
117117 <div class =" flex items-center justify-center h-44" >
118118 <div class =" text-center" >
119119 <UIcon
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const message = computed(() => {
2626 </script >
2727
2828<template >
29- <div class =" rounded-xl px-5 py-4" :class =" color" >
29+ <div class =" rounded-xl px-5 py-4 my-5 " :class =" color" >
3030 <template v-if =" invocation .state === ' output-available' " >
3131 <div class =" flex items-start justify-between mb-3" >
3232 <div class =" flex items-baseline" >
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ onMounted(() => {
9797 class =" lg:pt-(--ui-header-height) pb-4 sm:pb-6"
9898 >
9999 <template #content =" { message } " >
100- <div class =" *:first:! mt-0 *:last:! mb-0 space-y-5 " >
100+ <div class =" *:first:mt-0 *:last:mb-0" >
101101 <template v-for =" (part , index ) in message .parts " :key =" ` ${message .id }-${part .type }-${index }${' state' in part ? ` -${part .state } ` : ' ' } ` " >
102102 <Reasoning
103103 v-if =" part.type === 'reasoning'"
@@ -108,9 +108,9 @@ onMounted(() => {
108108 v-else-if =" part.type === 'text'"
109109 :value =" part.text"
110110 :cache-key =" `${message.id}-${index}`"
111- :unwrap =" message.role === 'user' ? 'p' : undefined"
112111 :components =" components"
113112 :parser-options =" { highlight: false }"
113+ class =" *:first:mt-0 *:last:mb-0"
114114 />
115115 <ToolWeather
116116 v-else-if =" part.type === 'tool-weather'"
You can’t perform that action at this time.
0 commit comments