From c81b7058c3891560e3291185e4d3b699807bb5a1 Mon Sep 17 00:00:00 2001 From: kkfluous Date: Sun, 29 Mar 2026 00:20:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E9=9D=A2=E6=9D=BF=E9=AB=98=E5=BA=A6=E8=87=AA=E9=80=82?= =?UTF-8?q?=E5=BA=94=E5=86=85=E5=AE=B9=EF=BC=8C=E4=B8=8D=E5=86=8D=E6=92=91?= =?UTF-8?q?=E6=BB=A1=E5=B1=8F=E5=B9=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 从fixed top-24 bottom-24改为top-20 max-h-[80vh], 面板高度由内容决定,内容多时可滚动。 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index a049718..52b5905 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1052,7 +1052,7 @@ export default function App() { initial={{ opacity: 0, y: 10, scale: 0.95 }} animate={{ opacity: 1, y: 0, scale: 1 }} exit={{ opacity: 0, y: 10, scale: 0.95 }} - className="fixed inset-x-4 top-24 bottom-24 overflow-auto sm:inset-auto sm:top-20 sm:right-4 sm:w-72 sm:max-h-[80vh] bg-white rounded-xl shadow-2xl border border-slate-100 z-50 p-4" + className="fixed inset-x-4 top-20 max-h-[80vh] overflow-auto sm:inset-auto sm:top-20 sm:right-4 sm:w-72 bg-white rounded-xl shadow-2xl border border-slate-100 z-50 p-4" >

库存统计 - 数据筛选

@@ -1978,7 +1978,7 @@ export default function App() { initial={{ opacity: 0, y: 10, scale: 0.95 }} animate={{ opacity: 1, y: 0, scale: 1 }} exit={{ opacity: 0, y: 10, scale: 0.95 }} - className="fixed inset-x-4 top-24 bottom-24 overflow-auto sm:inset-auto sm:top-20 sm:right-4 sm:w-72 sm:max-h-[80vh] bg-white rounded-xl shadow-2xl border border-gray-100 z-50 p-4 text-gray-800" + className="fixed inset-x-4 top-20 max-h-[80vh] overflow-auto sm:inset-auto sm:top-20 sm:right-4 sm:w-72 bg-white rounded-xl shadow-2xl border border-gray-100 z-50 p-4 text-gray-800" >

区域筛选

@@ -2270,7 +2270,7 @@ export default function App() { initial={{ opacity: 0, y: 10, scale: 0.95 }} animate={{ opacity: 1, y: 0, scale: 1 }} exit={{ opacity: 0, y: 10, scale: 0.95 }} - className="fixed inset-x-4 top-24 bottom-24 overflow-auto sm:inset-auto sm:top-20 sm:right-4 sm:w-72 sm:max-h-[80vh] bg-white rounded-xl shadow-2xl border border-gray-100 z-50 p-4 text-gray-800" + className="fixed inset-x-4 top-20 max-h-[80vh] overflow-auto sm:inset-auto sm:top-20 sm:right-4 sm:w-72 bg-white rounded-xl shadow-2xl border border-gray-100 z-50 p-4 text-gray-800" >

数据筛选