From f75f09c733bd73bf8599cf3fee7ae2c6773e7347 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 23 Sep 2026 12:08:19 +0800 Subject: [PATCH] Update argon.patch --- .github/diy/patches/argon.patch | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/diy/patches/argon.patch b/.github/diy/patches/argon.patch index 1b7ce2acf..2a5b7d393 100644 --- a/.github/diy/patches/argon.patch +++ b/.github/diy/patches/argon.patch @@ -121,15 +121,6 @@ main { display: block; } -@@ -718,7 +734,7 @@ select[multiple="multiple"] { - } - .login-page .login-container { - z-index: 10; -- margin-left: 5%; -+ margin: 0 auto; - display: flex; - height: 100vh; - width: 26rem; --- a/luci-theme-argon/ucode/template/themes/argon/footer.ut +++ b/luci-theme-argon/ucode/template/themes/argon/footer.ut @@ -158,6 +149,19 @@ {{ version.distname }} {{ version.distversion }}-{{ version.distrevision }} +@@ -42,6 +40,12 @@ + } + } + }); ++ const loginContainer = document.querySelector( ++ 'div[class="login-container"][style*="backdrop-filter: blur(0px)"]' ++ ); ++ if (loginContainer) { ++ loginContainer.style.margin = '0 auto'; ++ } + + + diff --git a/luci-theme-argon/htdocs/luci-static/argon/img/pattern.svg b/luci-theme-argon/htdocs/luci-static/argon/img/pattern.svg new file mode 100644 index 000000000..72eb03cdc