File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
packages/gitbook/src/components/DocumentView Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' gitbook ' : patch
3+ ---
4+
5+ Fix content overflowing out of its container in tabs
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export function List(
2121 tag = { getListTag ( block . type ) }
2222 nodes = { block . nodes }
2323 ancestorBlocks = { [ ...ancestorBlocks , block ] }
24- style = { [ 'space-y-2' , style ] }
24+ style = { [ 'min-w-0 space-y-2' , style ] }
2525 />
2626 ) ;
2727}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export function ListItem(props: BlockProps<DocumentBlockListItem>) {
4141 // Override the "mx-auto" class from UnwrappedBlocks
4242 'mx-0'
4343 ) }
44- style = "flex flex-1 flex-col space-y-2"
44+ style = "flex min-w-0 flex-1 flex-col space-y-2"
4545 />
4646 ) ;
4747
You can’t perform that action at this time.
0 commit comments