feat: add margin to prevent footer blocking content (#222)
This commit is contained in:
@@ -19,7 +19,9 @@ exports[`SelectTypeWrapper snapshot 1`] = `
|
||||
</div>
|
||||
</ModalDialog.Title>
|
||||
</ModalDialog.Header>
|
||||
<ModalDialog.Body>
|
||||
<ModalDialog.Body
|
||||
classname="pb-6"
|
||||
>
|
||||
<h1>
|
||||
test child
|
||||
</h1>
|
||||
|
||||
@@ -29,7 +29,7 @@ export const SelectTypeWrapper = ({
|
||||
</div>
|
||||
</ModalDialog.Title>
|
||||
</ModalDialog.Header>
|
||||
<ModalDialog.Body>
|
||||
<ModalDialog.Body classname="pb-6">
|
||||
{children}
|
||||
</ModalDialog.Body>
|
||||
<SelectTypeFooter
|
||||
|
||||
@@ -9,7 +9,7 @@ exports[`SelectTypeModal snapshot 1`] = `
|
||||
className="justify-content-center"
|
||||
>
|
||||
<Stack
|
||||
className="flex-wrap"
|
||||
className="flex-wrap mb-6"
|
||||
direction="horizontal"
|
||||
gap={4}
|
||||
>
|
||||
|
||||
@@ -19,7 +19,7 @@ export const SelectTypeModal = ({
|
||||
<SelectTypeWrapper onClose={onClose} selected={selected}>
|
||||
<Row className="justify-content-center">
|
||||
{(!Object.values(AdvanceProblemKeys).includes(selected)) ? (
|
||||
<Stack direction="horizontal" gap={4} className="flex-wrap">
|
||||
<Stack direction="horizontal" gap={4} className="flex-wrap mb-6">
|
||||
<ProblemTypeSelect selected={selected} setSelected={setSelected} />
|
||||
<Preview problemType={selected} />
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user