From 0e423c97138355b2b599592236852a43e6c072ee Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Tue, 13 Oct 2026 13:09:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=89=8D=E7=AB=AF=E7=95=8C=E9=9D=A2):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B5=84=E6=BA=90=E5=88=97=E8=A1=A8=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E4=B8=8E=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/index.html | 8 +++++--- assets/webui/ofdgo.css | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/assets/webui/index.html b/assets/webui/index.html index 5022ca2..58809ba 100644 --- a/assets/webui/index.html +++ b/assets/webui/index.html @@ -357,10 +357,12 @@

资源管理

-
-
- + +
+
+ +
diff --git a/assets/webui/ofdgo.css b/assets/webui/ofdgo.css index f9f7922..1fe6d77 100644 --- a/assets/webui/ofdgo.css +++ b/assets/webui/ofdgo.css @@ -1563,21 +1563,25 @@ body[data-hide-meta] .meta-panel { } .resource-heading { + position: sticky; + top: 0; + z-index: 1; background: #eef1f4; - border: 1px solid var(--line); - overflow: hidden; -} - -.resource-heading, -.resource-list { - scrollbar-gutter: stable; + border-bottom: 1px solid var(--line); } .resource-list-container { - position: relative; + max-height: 260px; + overflow: auto; + scroll-padding-top: 40px; + border: 1px solid var(--line); margin-bottom: 12px; } +.resource-list-body { + position: relative; +} + .resource-empty { position: absolute; inset: 0; @@ -1592,11 +1596,7 @@ body[data-hide-meta] .meta-panel { } .resource-list { - max-height: 220px; min-height: 80px; - overflow: auto; - border: 1px solid var(--line); - border-top: 0; } .resource-option {