From 7b39d51fa37c5a890a82d37cc20dd6a6389d5786 Mon Sep 17 00:00:00 2001 From: kkfluous Date: Sun, 29 Mar 2026 00:04:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=80=E6=9C=89=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E6=A1=8C=E9=9D=A2=E7=AB=AF=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=9C=A8=E8=A7=86=E5=8F=A3=E5=8F=B3=E4=B8=8A?= =?UTF-8?q?=E8=A7=92(top-20=20right-4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 库存筛选面板之前桌面端位置太低被页面遮挡,现在三个筛选面板 统一使用sm:top-20 sm:right-4固定定位,与客户筛选同样的位置。 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 903ca0f..a31d3bf 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1045,7 +1045,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:top-auto sm:bottom-auto sm:left-auto sm:right-4 sm:w-80 sm:max-h-[80vh] bg-white rounded-xl shadow-2xl border border-slate-100 z-50 p-4" + 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" >

库存统计 - 数据筛选

@@ -1976,7 +1976,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:top-auto sm:bottom-auto sm:left-auto sm:right-4 sm:w-80 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-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" >

区域筛选

@@ -2273,7 +2273,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:top-auto sm:bottom-auto sm:left-auto sm:right-4 sm:w-80 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-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" >

数据筛选