Fix rendering of Expandables within Update blocks (#3947)

This commit is contained in:
Viktor Renkema
2026-01-27 20:26:33 +01:00
committed by GitHub
parent b09cc64fec
commit 07449443a0
@@ -60,8 +60,7 @@ export function Update(props: BlockProps<DocumentBlockUpdate>) {
{...contextProps}
nodes={block.nodes}
ancestorBlocks={[...ancestorBlocks, block]}
// Remove padding-top from headings when they're the first child (similar to column-first-of-type pattern)
style="[&>*:first-child]:!pt-0 flex-1 space-y-4"
style="[&>*:first-child]:!pt-0 flex flex-1 flex-col [&>*+*]:mt-5"
/>
</div>
);