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(
21
21
tag = { getListTag ( block . type ) }
22
22
nodes = { block . nodes }
23
23
ancestorBlocks = { [ ...ancestorBlocks , block ] }
24
- style = { [ 'space-y-2' , style ] }
24
+ style = { [ 'min-w-0 space-y-2' , style ] }
25
25
/>
26
26
) ;
27
27
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export function ListItem(props: BlockProps<DocumentBlockListItem>) {
41
41
// Override the "mx-auto" class from UnwrappedBlocks
42
42
'mx-0'
43
43
) }
44
- style = "flex flex-1 flex-col space-y-2"
44
+ style = "flex min-w-0 flex-1 flex-col space-y-2"
45
45
/>
46
46
) ;
47
47
You can’t perform that action at this time.
0 commit comments