Update lists margin top

This commit is contained in:
Claire Chabas
2025-03-18 18:08:28 +01:00
parent 7212973f34
commit bd9a3671e5
@@ -21,7 +21,8 @@ export function List(
tag={getListTag(block.type)}
nodes={block.nodes}
ancestorBlocks={[...ancestorBlocks, block]}
style={['min-w-0 space-y-2', style]}
// `-mt-4` because we apply a `mt-5` to all blocks but we only want a margin top of 6px for lists
style={['min-w-0 space-y-2 -mt-4', style]}
/>
);
}