Skip to content

Commit 3d95bd9

Browse files
authored
fix(client): block spacing on legacy superblock pages (freeCodeCamp#57354)
1 parent 390a7e8 commit 3d95bd9

File tree

1 file changed

+2
-3
lines changed
  • client/src/templates/Introduction/components

1 file changed

+2
-3
lines changed

client/src/templates/Introduction/components/block.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,8 @@ class Block extends Component<BlockProps> {
465465
return (
466466
<>
467467
{layoutToComponent[challenges[0].blockLayout]}
468-
{(!isGridBlock || isProjectBlock) && !BlockLayouts.Link && (
469-
<Spacer size='m' />
470-
)}
468+
{(!isGridBlock || isProjectBlock) &&
469+
superBlock !== SuperBlocks.FullStackDeveloper && <Spacer size='m' />}
471470
</>
472471
);
473472
}

0 commit comments

Comments
 (0)