Skip to content

Commit

Permalink
Use correct stack for question spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikSchmidt committed Jul 16, 2024
1 parent be47e79 commit d54647f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dito/app/routes/vorpruefung.$questionId/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function Index() {
<input type="hidden" name="questionId" value={question.id} />
<Question
paddingBottom="40"
stack={40}
stack={32}
heading={{
text: question.question,
tagName: "h1",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/components/Question.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type QuestionProps = {
content?: RichTextProps;
select?: SelectProps;
radio?: RadioGroupProps;
stack?: 8 | 16 | 24 | 32 | 40 | 48 | 56 | 64 | 80;
stack?: 8 | 16 | 32 | 48;
additionalClassNames?: string;
} & PropsWithChildren<CommonWrapperProps>;

Expand Down

0 comments on commit d54647f

Please sign in to comment.