diff options
Diffstat (limited to 'lib/pos/components')
| -rw-r--r-- | lib/pos/components/pos-file-selection-dialog.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/pos/components/pos-file-selection-dialog.tsx b/lib/pos/components/pos-file-selection-dialog.tsx index 29936d21..0553754d 100644 --- a/lib/pos/components/pos-file-selection-dialog.tsx +++ b/lib/pos/components/pos-file-selection-dialog.tsx @@ -18,7 +18,6 @@ import { TableRow, } from "@/components/ui/table" import { Button } from "@/components/ui/button" -import { ScrollArea } from "@/components/ui/scroll-area" import { Badge } from "@/components/ui/badge" interface PosFileInfo { @@ -49,7 +48,7 @@ export function PosFileSelectionDialog({ }: PosFileSelectionDialogProps) { return ( <Dialog open={isOpen} onOpenChange={onClose}> - <DialogContent className="max-w-4xl"> + <DialogContent className="max-w-7xl max-h-[90vh]"> <DialogHeader> <DialogTitle className="flex items-center gap-2"> <FileText className="h-5 w-5 text-green-600" /> @@ -62,7 +61,7 @@ export function PosFileSelectionDialog({ </DialogDescription> </DialogHeader> - <ScrollArea className="max-h-[60vh]"> + <div className="overflow-auto max-h-[70vh]"> <Table> <TableHeader> <TableRow> @@ -119,7 +118,7 @@ export function PosFileSelectionDialog({ ))} </TableBody> </Table> - </ScrollArea> + </div> {files.length === 0 && ( <div className="text-center py-8 text-muted-foreground"> |
