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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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' />}
</>
);
}