mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-13 22:00:19 -04:00
fix(client): block spacing on legacy superblock pages (#57354)
This commit is contained in:
@@ -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' />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user