fix slide panel
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
ActionIcon,
|
||||
ScrollArea,
|
||||
Divider,
|
||||
Stack,
|
||||
} from "@mantine/core";
|
||||
import { ArrowLeftIcon, CheckIcon } from "@phosphor-icons/react";
|
||||
import { useState, ReactNode } from "react";
|
||||
@@ -175,8 +176,10 @@ const SlidePanel = ({
|
||||
{...(panelConfig.componentProps || {})}
|
||||
/>
|
||||
</ScrollArea.Autosize>
|
||||
<Button mt="md" onClick={handleConfirm}>Confirm</Button>
|
||||
<Button variant="subtle" onClick={closePanel} mt="sm" color="red">Cancel</Button>
|
||||
<Stack mt="auto" w="100%">
|
||||
<Button mt="md" onClick={handleConfirm}>Confirm</Button>
|
||||
<Button variant="subtle" onClick={closePanel} mt="sm" color="red">Cancel</Button>
|
||||
</Stack>
|
||||
</>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user