From 823d013e785cbf0081a2d4b0e3bb8990d2b6fcad Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 1 Oct 2026 01:18:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B4=20Sync=202026-10-01=2001:18:40?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-daede/Makefile | 2 +- .../htdocs/luci-static/resources/view/daede/styles.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/luci-app-daede/Makefile b/luci-app-daede/Makefile index 2df2c50c9..a24e67296 100644 --- a/luci-app-daede/Makefile +++ b/luci-app-daede/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-daede PKG_VERSION:=1.15 -PKG_RELEASE:=47 +PKG_RELEASE:=48 PKG_MAINTAINER:=kenzok8 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/luci-app-daede/htdocs/luci-static/resources/view/daede/styles.js b/luci-app-daede/htdocs/luci-static/resources/view/daede/styles.js index 0aaf184ca..9322a9f15 100644 --- a/luci-app-daede/htdocs/luci-static/resources/view/daede/styles.js +++ b/luci-app-daede/htdocs/luci-static/resources/view/daede/styles.js @@ -111,7 +111,11 @@ const CSS = [ real editor (caret, selection, insert-at-cursor, jump-to-line all native) */ '.dd-edit-wrap{position:relative}', '.dd-edit-wrap .dd-editor,.dd-edit-wrap .dd-hl{margin:0;padding:10px 12px;border-width:1px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:12px;line-height:1.5;letter-spacing:0;tab-size:4;white-space:pre;word-break:normal;overflow:auto;box-sizing:border-box}', - '.dd-edit-wrap .dd-hl{position:absolute;inset:0;margin:0;border:1px solid transparent;border-radius:6px 6px 0 0;pointer-events:none;background:#f6f8fa;color:#3b4252;z-index:1}', + /* resize:vertical renders the same corner grip as the textarea (pointer-events + keeps it inert), so both layers' scrollbar tracks stay the same length on + mobile — the textarea's resize grip otherwise shortens its track and the + thumbs drift, ghosting the highlight underneath */ + '.dd-edit-wrap .dd-hl{position:absolute;inset:0;margin:0;resize:vertical;border:1px solid transparent;border-radius:6px 6px 0 0;pointer-events:none;background:#f6f8fa;color:#3b4252;z-index:1}', /* reset Argon's code{background:var(--lighter)} so the overlay inherits the pre background uniformly — otherwise a dark pre shows as side bars. color:inherit so plain text follows .dd-hl (light in dark mode) instead of