diff --git a/src/renderer/src/components/CleanerOperationHistoryModal.tsx b/src/renderer/src/components/CleanerOperationHistoryModal.tsx index 79c91a5..84d0c4e 100644 --- a/src/renderer/src/components/CleanerOperationHistoryModal.tsx +++ b/src/renderer/src/components/CleanerOperationHistoryModal.tsx @@ -749,7 +749,7 @@ export const CleanerOperationHistoryModal: React.FC +
{/* Toolbar */}
diff --git a/src/renderer/src/components/ui/Modal.tsx b/src/renderer/src/components/ui/Modal.tsx index 90a8cfd..a555c8b 100644 --- a/src/renderer/src/components/ui/Modal.tsx +++ b/src/renderer/src/components/ui/Modal.tsx @@ -15,6 +15,8 @@ interface ModalProps { title?: string children: React.ReactNode size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' + /** Additional CSS classes for the modal panel */ + className?: string showCloseButton?: boolean /** Ref to the element that triggered opening the modal (for focus restoration) */ triggerRef?: React.RefObject @@ -47,6 +49,7 @@ export function Modal({ title, children, size = 'md', + className, showCloseButton = true, triggerRef, titleId, @@ -98,7 +101,7 @@ export function Modal({
e.stopPropagation()} > {/* Header */}