diff --git a/.changeset/thick-ears-reply.md b/.changeset/thick-ears-reply.md new file mode 100644 index 000000000..8fa166576 --- /dev/null +++ b/.changeset/thick-ears-reply.md @@ -0,0 +1,5 @@ +--- +'gitbook': patch +--- + +Fix bullet list display on full size blocks diff --git a/packages/gitbook/src/components/DocumentView/ListItem.tsx b/packages/gitbook/src/components/DocumentView/ListItem.tsx index c943698ed..6fda31243 100644 --- a/packages/gitbook/src/components/DocumentView/ListItem.tsx +++ b/packages/gitbook/src/components/DocumentView/ListItem.tsx @@ -38,6 +38,8 @@ export function ListItem(props: BlockProps) { '[&: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" />