diff --git a/packages/gitbook/src/components/PageBody/PageBody.tsx b/packages/gitbook/src/components/PageBody/PageBody.tsx index 84213777a9..73e0167053 100644 --- a/packages/gitbook/src/components/PageBody/PageBody.tsx +++ b/packages/gitbook/src/components/PageBody/PageBody.tsx @@ -72,7 +72,7 @@ export function PageBody(props: { > <DocumentView document={document} - style={['[&>*+*]:mt-5', 'grid']} + style={['[&>*+*]:mt-5', '[&>*:is(ul,ol)]:mt-2', 'grid']} blockStyle={['page-api-block:ml-0']} context={{ mode: 'default',