mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(client): block spacing on legacy superblock pages (#57354)
This commit is contained in:
parent
390a7e85c3
commit
3d95bd9928
@ -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' />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user