File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/gitbook/src/components/AIActions Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -251,13 +251,13 @@ function AIActionWrapper(props: {
251251 >
252252 < div className = "flex size-5 items-center justify-center text-tint" >
253253 { loading ? (
254- < Icon icon = "spinner-third" className = "size-4 animate-spin" />
254+ < Icon icon = "spinner-third" className = "size-4 shrink-0 animate-spin" />
255255 ) : icon ? (
256256 typeof icon === 'string' ? (
257257 < Icon
258258 icon = { icon as IconName }
259259 iconStyle = { IconStyle . Regular }
260- className = "size-4 fill-transparent stroke-current"
260+ className = "size-4 shrink-0 fill-transparent stroke-current"
261261 />
262262 ) : (
263263 icon
@@ -268,9 +268,9 @@ function AIActionWrapper(props: {
268268 < div className = "flex flex-1 flex-col gap-0.5" >
269269 < span className = "flex items-center gap-2 text-tint-strong" >
270270 < span className = "truncate font-medium text-sm" > { label } </ span >
271- { href ? < Icon icon = "arrow-up-right" className = "size-3" /> : null }
271+ { href ? < Icon icon = "arrow-up-right" className = "size-3 shrink-0 " /> : null }
272272 </ span >
273- { description && < span className = "truncate text-tint text-xs" > { description } </ span > }
273+ { description && < span className = "text-tint text-xs" > { description } </ span > }
274274 </ div >
275275 </ DropdownMenuItem >
276276 ) ;
You can’t perform that action at this time.
0 commit comments