From 56a09d180ddecfdb5e6177b3bd099386bf52ab9f Mon Sep 17 00:00:00 2001 From: you Date: Mon, 23 Mar 2026 02:35:07 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20customization=20panel=20scrolls=20?= =?UTF-8?q?=E2=80=94=20fixed=20height=20+=20min-height:=200=20on=20body?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/customize.js | 8 ++++---- public/index.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/customize.js b/public/customize.js index 2639afd8..252e9e36 100644 --- a/public/customize.js +++ b/public/customize.js @@ -262,17 +262,17 @@ if (styleEl) return; styleEl = document.createElement('style'); styleEl.textContent = ` - .cust-overlay { position: fixed; top: 56px; right: 12px; z-index: 1050; width: 480px; max-height: calc(100vh - 68px); + .cust-overlay { position: fixed; top: 56px; right: 12px; z-index: 1050; width: 480px; height: calc(100vh - 68px); background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; - box-shadow: 0 8px 32px rgba(0,0,0,0.3); display: flex; flex-direction: column; overflow: hidden; - resize: both; min-width: 320px; min-height: 300px; } + box-shadow: 0 8px 32px rgba(0,0,0,0.3); display: flex; flex-direction: column; + resize: both; min-width: 320px; min-height: 300px; overflow: hidden; } .cust-overlay.hidden { display: none; } .cust-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: move; user-select: none; flex-shrink: 0; } .cust-header h2 { margin: 0; font-size: 15px; } .cust-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 4px 8px; border-radius: 4px; } .cust-close:hover { background: var(--surface-3); color: var(--text); } - .cust-body { flex: 1; overflow-y: auto; padding: 0; } + .cust-body { flex: 1; overflow-y: auto; min-height: 0; } .cust-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); flex-shrink: 0; } .cust-tab { padding: 8px 10px; cursor: pointer; border: none; background: none; color: var(--text-muted); font-size: 12px; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; flex: 1; text-align: center; } diff --git a/public/index.html b/public/index.html index 2ad88ddc..0aa57ccc 100644 --- a/public/index.html +++ b/public/index.html @@ -101,6 +101,6 @@ - +