From de03bdfc6a690c1d3396922a1204defa5715a58a Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Thu, 22 Oct 2026 22:54:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=AA=97=E5=8F=A3=E6=A0=87=E7=AD=BE):=20?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=A0=87=E7=AD=BE=E6=8C=89=E9=92=AE=E8=BE=B9?= =?UTF-8?q?=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/webui/ofdgo.css b/assets/webui/ofdgo.css index 8b5b372..9a5cce3 100644 --- a/assets/webui/ofdgo.css +++ b/assets/webui/ofdgo.css @@ -31,6 +31,7 @@ } .document-titlebar { + --tab-action-gap: max(0px, calc((var(--titlebar-height, 36px) - 30px) / 2)); display: flex; min-width: 0; align-items: stretch; @@ -62,7 +63,7 @@ min-width: 100px; max-width: min(240px, 100%); gap: 8px; - padding: 0 8px 0 12px; + padding: 0 var(--tab-action-gap) 0 12px; border: 0; border-right: 1px solid var(--line); background: transparent; @@ -117,7 +118,7 @@ } .document-new-tab { - margin-left: 8px; + margin-left: var(--tab-action-gap); } .document-title-drag {