🗽 Sync 2026-08-23 04:21:21

This commit is contained in:
github-actions[bot] committed 2026-08-23 04:21:21 +08:00
1 parent 4a953d36c5
commit 503865efd6
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-passwall
PKG_VERSION:=26.8.19
PKG_RELEASE:=237
PKG_RELEASE:=238
PKG_PO_VERSION:=$(PKG_VERSION)
PKG_CONFIG_DEPENDS:= \
@@ -76,11 +76,11 @@ const _ASSETS = '/luci-static/passwall/';
const CHECK_IP_URL = '<%=url([[admin]], [[services]], [[passwall]], [[ip]])%>';
let mainContent = document.getElementById("maincontent");
let statusBar = document.querySelector(".status-bar");
function resize() {
wW = window.innerWidth;
let lw = document.querySelector(".main-left, .fs-sidebar")?.offsetWidth ?? 5;
let statusBar = document.querySelector(".status-bar");
let lw = document.querySelector(".main-left, :root[data-layout='sidebar'] .fs-sidebar")?.offsetWidth ?? 5;
statusBar.style.width = (wW - lw) + 'px';
let flagElement = statusBar.querySelector(".flag");
flagElement.style.width = (flagElement.offsetHeight / 3 * 4) + 'px';