Fix: Ensure Add Service dialog respects theme

This commit is contained in:
Tola Leng
2025-06-04 21:36:14 +08:00
parent 6652ac5e76
commit 518b469c04
2 changed files with 6 additions and 6 deletions
@@ -25,10 +25,10 @@ export function AddServiceDialog({ open, onOpenChange }: AddServiceDialogProps)
return ( return (
<Dialog open={open} onOpenChange={onOpenChange}> <Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="bg-black text-white border-gray-800 sm:max-w-[500px] max-h-[90vh] flex flex-col"> <DialogContent className="sm:max-w-[500px] max-h-[90vh] flex flex-col">
<DialogHeader> <DialogHeader>
<DialogTitle className="text-xl">Create New Service</DialogTitle> <DialogTitle className="text-xl">Create New Service</DialogTitle>
<DialogDescription className="text-gray-400"> <DialogDescription>
Fill in the details to create a new service to monitor. Fill in the details to create a new service to monitor.
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
@@ -40,4 +40,4 @@ export function AddServiceDialog({ open, onOpenChange }: AddServiceDialogProps)
</DialogContent> </DialogContent>
</Dialog> </Dialog>
); );
} }
@@ -51,10 +51,10 @@ export function ServiceEditDialog({ open, onOpenChange, service }: ServiceEditDi
onOpenChange(newOpen); onOpenChange(newOpen);
} }
}}> }}>
<DialogContent className="bg-black text-white border-gray-800 sm:max-w-[500px] max-h-[90vh] flex flex-col"> <DialogContent className="sm:max-w-[500px] max-h-[90vh] flex flex-col">
<DialogHeader> <DialogHeader>
<DialogTitle className="text-xl">Edit Service</DialogTitle> <DialogTitle className="text-xl">Edit Service</DialogTitle>
<DialogDescription className="text-gray-400"> <DialogDescription>
Update the details of your monitored service. Update the details of your monitored service.
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
@@ -74,4 +74,4 @@ export function ServiceEditDialog({ open, onOpenChange, service }: ServiceEditDi
</DialogContent> </DialogContent>
</Dialog> </Dialog>
); );
} }