From 552a94696e43df231dbcef6411eddc9dbda52766 Mon Sep 17 00:00:00 2001 From: you Date: Mon, 23 Mar 2026 01:32:46 +0000 Subject: [PATCH] Customization panel: wider default (480px) + resizable via CSS resize --- public/customize.js | 5 +++-- public/index.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/customize.js b/public/customize.js index a11b6063..60ebfd40 100644 --- a/public/customize.js +++ b/public/customize.js @@ -251,9 +251,10 @@ if (styleEl) return; styleEl = document.createElement('style'); styleEl.textContent = ` - .cust-overlay { position: fixed; top: 52px; right: 12px; z-index: 1050; width: 380px; max-height: calc(100vh - 64px); + .cust-overlay { position: fixed; top: 52px; right: 12px; z-index: 1050; width: 480px; max-height: calc(100vh - 64px); 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; } + 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; } .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; } diff --git a/public/index.html b/public/index.html index 11d6ac36..d4f2749d 100644 --- a/public/index.html +++ b/public/index.html @@ -101,6 +101,6 @@ - +