From 06714b7150366d7445c9e09205b90606791aa163 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Fri, 16 Oct 2026 16:31:41 +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=E5=BC=B9=E7=AA=97=E7=8A=B6=E6=80=81=E4=B8=8E?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/index.html | 6 +++--- assets/webui/ofdgo.css | 32 ++++++++++++++++++-------------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/assets/webui/index.html b/assets/webui/index.html index 1d4ba80..976cedb 100644 --- a/assets/webui/index.html +++ b/assets/webui/index.html @@ -378,6 +378,7 @@ +
-
@@ -400,9 +400,9 @@ +
-
@@ -435,9 +435,9 @@ +
-
diff --git a/assets/webui/ofdgo.css b/assets/webui/ofdgo.css index 0195b4b..3b5c07a 100644 --- a/assets/webui/ofdgo.css +++ b/assets/webui/ofdgo.css @@ -1619,10 +1619,6 @@ body[data-hide-meta] .meta-panel { width: 600px; } -.resource-dialog .form-status:not(:empty) { - margin-top: 12px; -} - .resource-heading, .resource-option { display: grid; @@ -1704,6 +1700,7 @@ body[data-hide-meta] .meta-panel { .resource-actions { display: flex; + align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; @@ -1782,13 +1779,10 @@ body[data-hide-meta] .meta-panel { width: 100%; } -.document-dialog .form-status:not(:empty) { - margin-top: 8px; -} - .document-actions { - display: grid; - grid-template-columns: repeat(6, minmax(0, 1fr)); + display: flex; + align-items: center; + flex-wrap: wrap; gap: 6px; } @@ -1797,12 +1791,22 @@ body[data-hide-meta] .meta-panel { padding-inline: 6px; } -.document-actions.version-readonly { - grid-template-columns: repeat(3, minmax(0, 1fr)); +.document-actions > .button, +.resource-actions > .button { + flex: 0 0 auto; } -#versionActions:not(.version-readonly) { - grid-template-columns: repeat(7, minmax(0, 1fr)); +.document-actions > .form-status, +.resource-actions > .form-status { + flex: 1 1 0; + min-width: 4em; + max-height: 6em; + overflow: auto; + white-space: pre-wrap; +} + +.document-actions > button:last-child { + margin-left: auto; } .settings-dialog {