From a973c47ef5bd6786b183118dea63efe0ddff0727 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Tue, 10 Nov 2026 01:34:46 +0800 Subject: [PATCH] Update luci-app-passwall.patch --- .github/diy/patches/luci-app-passwall.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/diy/patches/luci-app-passwall.patch b/.github/diy/patches/luci-app-passwall.patch index 5ca52691c..24276e1c7 100644 --- a/.github/diy/patches/luci-app-passwall.patch +++ b/.github/diy/patches/luci-app-passwall.patch @@ -508,3 +508,14 @@ index 000000000000..a00fff9c79b3 msgid "Auto" msgstr "自动" +--- a/luci-app-passwall/luasrc/view/passwall/cbi/nodes_listvalue_com.htm ++++ b/luci-app-passwall/luasrc/view/passwall/cbi/nodes_listvalue_com.htm +@@ -256,7 +256,7 @@ + document.head.appendChild(styleNode) + // trace back from option -> select -> body for background color + const panelRadius = styleSelect.borderRadius; +- const optionColor = !lv_isTransparent(styleOption.backgroundColor) ? styleOption.backgroundColor : !lv_isTransparent(styleSelect.backgroundColor) ? styleSelect.backgroundColor : styleBody.backgroundColor ++ const optionColor = !lv_isTransparent(styleSelect.backgroundColor) ? styleSelect.backgroundColor : !lv_isTransparent(styleOption.backgroundColor) ? styleOption.backgroundColor : styleBody.backgroundColor + const titleColor = lv_getColorSchema(optionColor) === "light" ? lv_darker(optionColor, 30) : lv_lighter(optionColor, 30) + // 自带箭头已占据布局空间,右内边距使用主题的左内边距 + const selectStyleCSS = [`#${CSS.escape(cbid + ".display")} {`, lv_style2Css(styleSelect, styleNames), lv_style2Css(styleSelect, ["backgroundColor"]), `padding-right: ${styleSelect.paddingLeft} !important;`, "}"]