drawer fixes
This commit is contained in:
@@ -2,7 +2,7 @@ import { PropsWithChildren, useCallback } from "react";
|
||||
import { useIsMobile } from "@/hooks/use-is-mobile";
|
||||
import Drawer from "./drawer";
|
||||
import Modal from "./modal";
|
||||
import { Box, ScrollArea } from "@mantine/core";
|
||||
import { ScrollArea } from "@mantine/core";
|
||||
|
||||
interface SheetProps extends PropsWithChildren {
|
||||
title?: string;
|
||||
@@ -29,7 +29,7 @@ const Sheet: React.FC<SheetProps> = ({ title, children, opened, onChange }) => {
|
||||
scrollbars="y"
|
||||
type="scroll"
|
||||
>
|
||||
<Box mah="70vh">{children}</Box>
|
||||
{children}
|
||||
</ScrollArea>
|
||||
</SheetComponent>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user