drawer fixes

This commit is contained in:
yohlo
2025-09-23 15:04:29 -05:00
parent 7441d1ac58
commit 94ea44c66e
4 changed files with 31 additions and 8 deletions

View File

@@ -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>
);