fix(client): block spacing on legacy superblock pages (#57354)

This commit is contained in:
Tom
2024-12-02 14:26:26 -06:00
committed by GitHub
parent 390a7e85c3
commit 3d95bd9928

View File

@@ -465,9 +465,8 @@ class Block extends Component<BlockProps> {
return (
<>
{layoutToComponent[challenges[0].blockLayout]}
{(!isGridBlock || isProjectBlock) && !BlockLayouts.Link && (
<Spacer size='m' />
)}
{(!isGridBlock || isProjectBlock) &&
superBlock !== SuperBlocks.FullStackDeveloper && <Spacer size='m' />}
</>
);
}