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: {
251
251
>
252
252
< div className = "flex size-5 items-center justify-center text-tint" >
253
253
{ loading ? (
254
- < Icon icon = "spinner-third" className = "size-4 animate-spin" />
254
+ < Icon icon = "spinner-third" className = "size-4 shrink-0 animate-spin" />
255
255
) : icon ? (
256
256
typeof icon === 'string' ? (
257
257
< Icon
258
258
icon = { icon as IconName }
259
259
iconStyle = { IconStyle . Regular }
260
- className = "size-4 fill-transparent stroke-current"
260
+ className = "size-4 shrink-0 fill-transparent stroke-current"
261
261
/>
262
262
) : (
263
263
icon
@@ -268,9 +268,9 @@ function AIActionWrapper(props: {
268
268
< div className = "flex flex-1 flex-col gap-0.5" >
269
269
< span className = "flex items-center gap-2 text-tint-strong" >
270
270
< 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 }
272
272
</ span >
273
- { description && < span className = "truncate text-tint text-xs" > { description } </ span > }
273
+ { description && < span className = "text-tint text-xs" > { description } </ span > }
274
274
</ div >
275
275
</ DropdownMenuItem >
276
276
) ;
You can’t perform that action at this time.
0 commit comments