From 3f58f639d1c7a0cf439a85d68a67b8aa3725eb66 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Sat, 31 Oct 2026 19:26:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=95=8C=E9=9D=A2=E8=AE=BE=E8=AE=A1):=20?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E7=BC=A9=E7=95=A5=E5=9B=BE=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E5=9B=9B=E5=91=A8=E8=A7=86=E8=A7=89=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.css | 4 ++-- assets/webui/ofdgo_view.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/webui/ofdgo.css b/assets/webui/ofdgo.css index 1c2097b..6bfb1c5 100644 --- a/assets/webui/ofdgo.css +++ b/assets/webui/ofdgo.css @@ -3331,7 +3331,7 @@ button.outline-link:hover { gap: 6px; width: 100%; height: auto; - padding: 8px; + padding: 8px 8px 4px; font-variant-numeric: tabular-nums; text-align: left; transition: border-color 0.16s ease, background-color 0.16s ease; @@ -3832,7 +3832,7 @@ button.outline-link:hover { .thumb-grip { position: absolute; right: 8px; - bottom: 8px; + bottom: 4px; width: 24px; height: 28px; cursor: grab; diff --git a/assets/webui/ofdgo_view.js b/assets/webui/ofdgo_view.js index c59f284..d385820 100644 --- a/assets/webui/ofdgo_view.js +++ b/assets/webui/ofdgo_view.js @@ -1079,13 +1079,13 @@ export function createPageView(context) { if (context.state.pageLayout === 1) { const size = pageView.pageViewSize(context.state.doc.pages[start]); const ratio = size.width > 0 && size.height > 0 ? size.height / size.width : 1 / 0.707; - view.heights[start] = Math.max(1, width - 20) * ratio + 70; + view.heights[start] = Math.max(1, width - 20) * ratio + 66; offsets[start] = top; top += view.heights[start] + gap; continue; } const group = pageView.pageGroupSize(start), scale = Math.max(1, view.itemWidth - 20) / Math.max(...group.widths); - const height = group.height * scale + 70; + const height = group.height * scale + 66; for (let column = 0; column < 2; column++) { const index = start + column; if (index >= context.state.doc.pages.length) break;