This commit is contained in:
dengqichen 2025-12-12 09:39:44 +08:00
parent dffafa07a7
commit 22a32c78e7

View File

@ -207,7 +207,7 @@ export const AlertRuleManageDialog: React.FC<AlertRuleManageDialogProps> = ({
return ( return (
<> <>
<Dialog open={open} onOpenChange={onOpenChange}> <Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-w-[90vw] max-h-[85vh]"> <DialogContent className="max-w-[90vw] max-h-[85vh] flex flex-col">
<DialogHeader> <DialogHeader>
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<Bell className="h-5 w-5 text-primary" /> <Bell className="h-5 w-5 text-primary" />
@ -215,7 +215,7 @@ export const AlertRuleManageDialog: React.FC<AlertRuleManageDialogProps> = ({
</div> </div>
</DialogHeader> </DialogHeader>
<DialogBody className="overflow-hidden"> <DialogBody className="flex-1 overflow-y-auto">
<PaginatedTable<AlertRuleResponse, AlertRuleQuery> <PaginatedTable<AlertRuleResponse, AlertRuleQuery>
ref={tableRef} ref={tableRef}
fetchFn={getAlertRulePage} fetchFn={getAlertRulePage}