From 002c388f9fa4c5c6172f980890815d1abccfe0e3 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sun, 22 Feb 2026 15:21:01 +0100 Subject: [PATCH] fix(deploy): polish subdomain field UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove "Automatikusan generálva" badge from domain field (it's not generated, it's the customer's configured domain) - Shrink subdomain input width (8rem) so the .domain suffix appears directly next to it on the same line - Suppress redundant "Az alkalmazás aldomainje" description hint for subdomain fields (the warning hint is sufficient) Co-Authored-By: Claude Opus 4.6 --- controller/internal/web/templates/deploy.html | 4 ++-- controller/internal/web/templates/style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controller/internal/web/templates/deploy.html b/controller/internal/web/templates/deploy.html index dc6a8c7..5acfc0e 100644 --- a/controller/internal/web/templates/deploy.html +++ b/controller/internal/web/templates/deploy.html @@ -240,7 +240,7 @@ {{range .AutoFields}} {{$val := index $autoValues .EnvVar}}
- + {{if $val}} {{if eq .Type "secret"}}
@@ -340,7 +340,7 @@ {{if $.AlreadyDeployed}}disabled{{end}}> {{end}} - {{if .Description}} + {{if and .Description (ne .Type "subdomain")}} {{.Description}} {{end}}
diff --git a/controller/internal/web/templates/style.css b/controller/internal/web/templates/style.css index b600f8c..446083c 100644 --- a/controller/internal/web/templates/style.css +++ b/controller/internal/web/templates/style.css @@ -575,7 +575,7 @@ select.form-control option { background: var(--bg-secondary); color: var(--text- .input-with-button { display: flex; gap: .5rem; } .input-with-button .form-control { flex: 1; } .subdomain-input-group { display: flex; align-items: center; } -.subdomain-input-group .subdomain-input { max-width: 14rem; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; } +.subdomain-input-group .subdomain-input { width: 8rem; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; } .subdomain-input-group .subdomain-suffix { padding: .55rem .75rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-left: none; border-radius: 0 8px 8px 0; color: var(--text-secondary);