From 0e8d077961eb55f53a27ccba84663b8ff0b9b655 Mon Sep 17 00:00:00 2001 From: master3395 Date: Sun, 22 Feb 2026 01:33:27 +0100 Subject: [PATCH] Fix vhost config Save button visibility on child domain page Add fallback gradient and !important color for btn-primary when --bg-gradient is undefined (e.g. dark mode/base theme), so the Save button is always visible instead of appearing white/invisible. --- .../templates/websiteFunctions/launchChild.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/websiteFunctions/templates/websiteFunctions/launchChild.html b/websiteFunctions/templates/websiteFunctions/launchChild.html index c9a7b6457..b516c8ff6 100644 --- a/websiteFunctions/templates/websiteFunctions/launchChild.html +++ b/websiteFunctions/templates/websiteFunctions/launchChild.html @@ -206,15 +206,15 @@ } .btn-primary { - background: var(--bg-gradient); - color: white; + background: var(--bg-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%)); + color: #fff !important; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); - color: white; + color: #fff !important; } .btn-preview {