@@ -38,7 +38,7 @@ function ToolCallSummary(props: { toolCall: AIToolCall; context: GitBookSiteCont
3838 const { toolCall, context } = props ;
3939
4040 return (
41- < div className = "flex origin-left animate-[scaleIn_500ms_500ms_both] items-start gap-2 text-sm text-tint-subtle" >
41+ < div className = "flex origin-left animate-scaleIn-slow items-start gap-2 text-sm text-tint-subtle" >
4242 < Icon
4343 icon = { getIconForToolCall ( toolCall ) }
4444 className = "mt-1 size-3 shrink-0 text-tint-subtle/8"
@@ -151,13 +151,13 @@ async function DescriptionForSearchToolCall(props: {
151151 < details className = { tcls ( '-ml-5 group flex w-full flex-col' , hasResults ? 'gap-2' : '' ) } >
152152 < summary
153153 className = { tcls (
154- '-mx-2 flex list-none items-center gap-2 rounded-corners:rounded-md pr-4 pl-7 transition-colors marker:hidden' ,
154+ '-mx-2 flex list-none items-center gap-2 circular-corners:rounded-2xl rounded-corners:rounded-md pr-4 pl-7 transition-colors marker:hidden' ,
155155 hasResults ? '-my-2 cursor-pointer py-2 hover:bg-primary-hover' : ''
156156 ) }
157157 >
158- < div className = "flex flex-col" >
158+ < div className = "flex flex-col leading-snug " >
159159 < p > { t ( language , 'searched_for' , < strong > { toolCall . query } </ strong > ) } </ p >
160- < p className = "text-tint-subtle text-xs" >
160+ < p className = "mt-0.5 text-tint-subtle text-xs" >
161161 { hasResults
162162 ? t ( language , 'search_results_count' , toolCall . results . length )
163163 : t ( language , 'search_no_results' ) }
@@ -175,12 +175,12 @@ async function DescriptionForSearchToolCall(props: {
175175 ) : null }
176176 </ summary >
177177 { hasResults ? (
178- < div className = "max-h-0 overflow-y-auto circular-corners:rounded-2xl rounded-corners:rounded-lg border border-tint-subtle p-2 opacity-0 transition-all duration-500 [transition-behavior:allow-discrete] group-open:max-h-96 group-open:opacity-11" >
178+ < div className = "mt-1 max-h-0 overflow-y-auto circular-corners:rounded-2xl rounded-corners:rounded-lg border border-tint-subtle p-2 opacity-0 transition-all duration-500 [transition-behavior:allow-discrete] group-open:max-h-96 group-open:opacity-11" >
179179 < ol className = "space-y-1" >
180180 { searchResultsWithHrefs . map ( ( result , index ) => (
181181 < li
182182 key = { `${ result . pageId } -${ index } ` }
183- className = "animate-fadeIn"
183+ className = "animate-fadeIn-slow "
184184 style = { {
185185 animationDelay : `${ index * 25 } ms` ,
186186 } }
0 commit comments