Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit e3f0701

Browse files
committed
align collapse better
1 parent da8645f commit e3f0701

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/code/annotations/collapse.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export const collapse: AnnotationHandler = {
2727
},
2828
Block: ({ annotation, children }) => {
2929
return (
30-
<Collapsible defaultOpen={annotation.query !== 'collapsed'}>
30+
<Collapsible
31+
className="-ml-[17px]"
32+
defaultOpen={annotation.query !== 'collapsed'}
33+
>
3134
{children}
3235
</Collapsible>
3336
)

0 commit comments

Comments
 (0)