Fix: Improved Add/Edit/Delete dialog sizing for better usability

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/9439abe8-8014-4250-bb20-2b07b2e4ae48.jpg
This commit is contained in:
alphaeusmote
2025-04-10 15:09:35 +00:00
parent f0708727cf
commit cdd67d78ca
+3 -3
View File
@@ -475,7 +475,7 @@ export default function DnsRecordsPage() {
{/* Add Record Dialog */} {/* Add Record Dialog */}
<Dialog open={isAddRecordDialogOpen} onOpenChange={setIsAddRecordDialogOpen}> <Dialog open={isAddRecordDialogOpen} onOpenChange={setIsAddRecordDialogOpen}>
<DialogContent> <DialogContent className="max-w-2xl max-h-[90vh] overflow-y-auto">
<DialogHeader> <DialogHeader>
<DialogTitle>Add DNS Record</DialogTitle> <DialogTitle>Add DNS Record</DialogTitle>
<DialogDescription> <DialogDescription>
@@ -715,7 +715,7 @@ export default function DnsRecordsPage() {
{/* Edit Record Dialog */} {/* Edit Record Dialog */}
<Dialog open={isEditRecordDialogOpen} onOpenChange={setIsEditRecordDialogOpen}> <Dialog open={isEditRecordDialogOpen} onOpenChange={setIsEditRecordDialogOpen}>
<DialogContent> <DialogContent className="max-w-2xl max-h-[90vh] overflow-y-auto">
<DialogHeader> <DialogHeader>
<DialogTitle>Edit DNS Record</DialogTitle> <DialogTitle>Edit DNS Record</DialogTitle>
<DialogDescription> <DialogDescription>
@@ -955,7 +955,7 @@ export default function DnsRecordsPage() {
{/* Delete Confirmation Dialog */} {/* Delete Confirmation Dialog */}
<AlertDialog open={isDeleteDialogOpen} onOpenChange={setIsDeleteDialogOpen}> <AlertDialog open={isDeleteDialogOpen} onOpenChange={setIsDeleteDialogOpen}>
<AlertDialogContent> <AlertDialogContent className="max-w-md">
<AlertDialogHeader> <AlertDialogHeader>
<AlertDialogTitle>Are you sure?</AlertDialogTitle> <AlertDialogTitle>Are you sure?</AlertDialogTitle>
<AlertDialogDescription> <AlertDialogDescription>