From 0c19973fbf74b552c8f26c71fdef57a5c32fea91 Mon Sep 17 00:00:00 2001 From: kcybe Date: Mon, 7 Sep 2026 21:58:00 +0300 Subject: [PATCH] fix(ui): align close button in web server update modal Keep the close control in the header row so it lines up with the title and version badge instead of overlapping them. --- .../settings/web-server/update-server.tsx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx b/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx index 5c1ce5cbb..2c5672243 100644 --- a/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx +++ b/apps/dokploy/components/dashboard/settings/web-server/update-server.tsx @@ -7,6 +7,7 @@ import { Server, Sparkles, Stars, + X, } from "lucide-react"; import Link from "next/link"; import { useState } from "react"; @@ -14,6 +15,7 @@ import { toast } from "sonner"; import { Button } from "@/components/ui/button"; import { Dialog, + DialogClose, DialogContent, DialogTitle, DialogTrigger, @@ -126,13 +128,13 @@ export const UpdateServer = ({ )} - -
- + +
+ Web Server Update {dokployVersion && ( -
+
{dokployVersion}{" "} @@ -141,6 +143,12 @@ export const UpdateServer = ({
)} + + +
{/* Initial state */}