Skip to content

Commit

Permalink
Fix bullet list display on full size blocks (#2646)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge authored Dec 18, 2024
1 parent aaf8daf commit e8e64bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-ears-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'gitbook': patch
---

Fix bullet list display on full size blocks
2 changes: 2 additions & 0 deletions packages/gitbook/src/components/DocumentView/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export function ListItem(props: BlockProps<DocumentBlockListItem>) {
'[&:is(h2)>div]:mt-0',
'[&:is(h3)>div]:mt-0',
'[&:is(h4)>div]:mt-0',
// Override the "mx-auto" class from UnwrappedBlocks
'mx-0',
)}
style="space-y-2 flex flex-col flex-1"
/>
Expand Down

0 comments on commit e8e64bf

Please sign in to comment.