Skip to content

Commit

Permalink
Merge pull request #10704 from ethereum/quiz-widget-spacing
Browse files Browse the repository at this point in the history
Adjust QuizWidget block margins [Fixes #10693]
  • Loading branch information
corwintines authored Jul 18, 2023
2 parents 03e5e84 + 354305e commit 9714119
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Quiz/QuizWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,13 @@ const QuizWidget: React.FC<IProps> = ({

// Render QuizWidget component
return (
<Flex width="full" direction="column" alignItems="center">
<Flex width="full" direction="column" alignItems="center" my={16}>
{/* Hide heading if quiz is not in Learning Quizzes Hub page */}
{isStandaloneQuiz && (
<Heading
as="h2"
mb={12}
mt={0}
textAlign="center"
scrollBehavior="smooth"
scrollMarginTop={24}
Expand Down

0 comments on commit 9714119

Please sign in to comment.