From 0092c28571b6534a297161b738e1fa479e61b655 Mon Sep 17 00:00:00 2001 From: wisecolt Date: Mon, 19 Jan 2026 16:48:11 +0300 Subject: [PATCH] =?UTF-8?q?fix(ui):=20deployment=20modal=20layout=20d?= =?UTF-8?q?=C3=BCzenle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modal ve sekmeler için sabit yükseklikler eklenerek layout tutarlılığı sağlandı ve taşma sorunları giderildi. --- frontend/src/components/ui/tabs.tsx | 4 ++-- frontend/src/pages/DeploymentsPage.tsx | 27 ++++++++++++++++---------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/ui/tabs.tsx b/frontend/src/components/ui/tabs.tsx index 3607692..5f4e417 100644 --- a/frontend/src/components/ui/tabs.tsx +++ b/frontend/src/components/ui/tabs.tsx @@ -11,7 +11,7 @@ const TabsList = React.forwardRef< -
+
@@ -450,16 +450,16 @@ export function DeploymentsPage() {
-
+
Genel Environment - + {!isEdit && ( -
+
Repo URL girildiğinde branch ve compose dosyaları listelenir.
)} @@ -513,7 +513,7 @@ export function DeploymentsPage() { required /> )} -
+
{branchLoading ? "Branch listesi alınıyor..." : branchOptions.length > 0 @@ -549,7 +549,7 @@ export function DeploymentsPage() { ))} -
+
{composeLoading ? "Compose dosyaları alınıyor..." : composeOptions.length > 0 @@ -572,7 +572,7 @@ export function DeploymentsPage() {
- +
{envExamples.length > 0 ? ( @@ -598,12 +598,19 @@ export function DeploymentsPage() { ) : ( -
+
{envLoading ? "Env example dosyaları alınıyor..." : "Repo içinde .env.example bulunamadı."}
)} +
+ {envExamples.length > 0 + ? "Repo üzerindeki env example dosyaları listelendi." + : envLoading + ? "Env example dosyaları alınıyor..." + : "Repo içinde .env.example bulunamadı."} +
@@ -622,13 +629,13 @@ export function DeploymentsPage() { id="env-content" value={envContent} onChange={(e) => setEnvContent(e.target.value)} - className="min-h-[180px] w-full resize-y rounded-md border border-input bg-background px-3 py-2 text-sm font-mono text-foreground shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-ring" + className="h-[180px] w-full resize-none rounded-md border border-input bg-background px-3 py-2 text-sm font-mono text-foreground shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-ring" style={ showEnv ? undefined : ({ WebkitTextSecurity: "disc" } as CSSProperties) } placeholder="ENV içerikleri burada listelenir." /> -
+
Kaydedince içerik deployment kök dizinine .env olarak yazılır.