diff --git a/app/components/MobileFundTable.jsx b/app/components/MobileFundTable.jsx index 9149069..24d3bed 100644 --- a/app/components/MobileFundTable.jsx +++ b/app/components/MobileFundTable.jsx @@ -263,9 +263,9 @@ export default function MobileFundTable({ group.mobileShowFullFundName = show; parsed[groupKey] = group; window.localStorage.setItem('customSettings', JSON.stringify(parsed)); - setConfigByGroup((prev) => ({ - ...prev, - [groupKey]: { ...prev[groupKey], mobileShowFullFundName: show } + setConfigByGroup((prev) => ({ + ...prev, + [groupKey]: { ...prev[groupKey], mobileShowFullFundName: show } })); onCustomSettingsChange?.(); } catch {} @@ -338,11 +338,9 @@ export default function MobileFundTable({ const handlePortalScroll = () => syncScrollToTable(); tableEl.addEventListener('scroll', handleTableScroll, { passive: true }); - portalEl.addEventListener('scroll', handlePortalScroll, { passive: true }); return () => { tableEl.removeEventListener('scroll', handleTableScroll); - portalEl.removeEventListener('scroll', handlePortalScroll); }; }, [showPortalHeader]); @@ -430,8 +428,8 @@ export default function MobileFundTable({ )}
- {info.getValue() ?? '—'} diff --git a/app/globals.css b/app/globals.css index d900084..25751f8 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1540,8 +1540,8 @@ input[type="number"] { -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; - left: 12px; - right: 12px; + left: 13px; + right: 13px; box-sizing: border-box; } .mobile-fund-table-portal-header::-webkit-scrollbar { @@ -3366,4 +3366,4 @@ input[type="number"] { body { @apply bg-background text-foreground; } -} \ No newline at end of file +}