Keep wide content inside Updates block columns (#4825)

This commit is contained in:
Peter White
2026-11-23 12:14:33 +01:00
committed by GitHub
parent 7cee30ecb8
commit 060f1f63ca
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix wide content in Updates blocks overflowing into the page outline.
@@ -75,7 +75,7 @@ export function Update(props: BlockProps<DocumentBlockUpdate>) {
{...contextProps}
nodes={block.nodes}
ancestorBlocks={[...ancestorBlocks, block]}
style="flex flex-1 flex-col [&>*+*]:mt-5 [&>*:first-child]:!pt-0"
style="flex min-w-0 flex-1 flex-col [&>*+*]:mt-5 [&>*:first-child]:!pt-0"
/>
</FilteredUpdate>
);