diff --git a/src/App.tsx b/src/App.tsx
index 579eb37..d027bf4 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -918,7 +918,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="absolute right-0 top-full mt-2 w-72 bg-white rounded-xl shadow-2xl border border-slate-100 z-50 p-4"
+ className="fixed inset-x-4 top-1/4 sm:absolute sm:inset-auto sm:right-0 sm:top-full sm:mt-2 sm:w-72 bg-white rounded-xl shadow-2xl border border-slate-100 z-50 p-4"
>
库存统计 - 数据筛选
@@ -1829,15 +1829,21 @@ 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="absolute top-full right-4 mt-2 w-72 bg-white rounded-xl shadow-2xl border border-gray-100 z-50 p-4 text-gray-800"
+ className="fixed inset-x-4 top-1/4 sm:absolute sm:inset-auto sm:top-full sm:right-4 sm:mt-2 sm:w-72 bg-white rounded-xl shadow-2xl border border-gray-100 z-50 p-4 text-gray-800"
>
区域筛选
-
@@ -2146,20 +2152,25 @@ export default function App() {
/>
{/* Popover Content */}
-
数据筛选
-
setCustomerFilters({ customer: '', brand: '', department: '', manager: '', region: '' })}
- className="text-[10px] text-emerald-600 hover:text-emerald-700 font-medium"
- >
- 重置所有
-
+
+
setCustomerFilters({ customer: '', brand: '', department: '', manager: '', region: '' })}
+ className="text-[10px] text-emerald-600 hover:text-emerald-700 font-medium"
+ >
+ 重置所有
+
+
setIsCustomerFilterOpen(false)} className="text-slate-400 hover:text-slate-600 sm:hidden">
+
+
+