From 0545be3244e458246b366bbe82d8245e3b8e9cf9 Mon Sep 17 00:00:00 2001 From: tisonhuang Date: Mon, 2 Mar 2026 15:24:13 +0800 Subject: [PATCH] style(export): tighten write-layout trigger width --- src/pages/ExportPage.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/ExportPage.scss b/src/pages/ExportPage.scss index 5db205e..0a0a37f 100644 --- a/src/pages/ExportPage.scss +++ b/src/pages/ExportPage.scss @@ -26,7 +26,7 @@ border-radius: 12px; padding: 12px; display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); + grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr); gap: 10px; align-items: stretch; @@ -109,11 +109,14 @@ flex-direction: column; gap: 4px; min-width: 0; + width: fit-content; + max-width: 100%; + justify-self: start; z-index: 40; } .layout-trigger { - width: 100%; + width: auto; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border-color);