Files
TehRiehlBudget/tehriehlbudget-frontend/package.json
T
TehRiehlDeal 062b807732
CI / secrets-scan (push) Successful in 7s
CI / sast (push) Successful in 15s
CI / vuln-scan (push) Successful in 16s
CI / test (push) Successful in 28s
CI / lint (push) Successful in 34s
CI / build-images (push) Successful in 2m7s
CI / image-scan (push) Successful in 55s
CI / push (push) Has been skipped
CI / secrets-scan (pull_request) Successful in 7s
CI / sast (pull_request) Successful in 15s
CI / vuln-scan (pull_request) Successful in 16s
CI / test (pull_request) Successful in 26s
CI / lint (pull_request) Successful in 33s
CI / build-images (pull_request) Successful in 2m4s
CI / image-scan (pull_request) Successful in 53s
CI / push (pull_request) Has been skipped
Fix ImportStatementDialog overflow on narrow viewports
The review and confirm steps were rendering as wide editable tables
inside a `sm:max-w-3xl` dialog (~768px). The inputs alone consumed
~750px before padding, so on smaller desktop windows the content was
clipped left/right, and on mobile it was effectively unusable.

Two-pronged fix:

- Widen the dialog itself to `md:max-w-5xl xl:max-w-6xl` so the table
  has room on typical desktops. Mobile stays full-width minus margin.
- Split each step into responsive layouts gated by Tailwind's `md:`
  breakpoint. Desktop keeps the editable table (now with fixed-width
  columns, an inline status badge instead of a separate Status column,
  and `overflow-auto` as a graceful fallback at intermediate widths).
  Below `md:`, rows render as stacked cards — checkbox + date + status
  on top, description full-width, amount + type wrapped, transfer
  destination dropping below when applicable. Same data, no horizontal
  scrolling on phones.

The Confirm step's expand-to-preview table gets the same treatment:
table on desktop, summary cards on mobile.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:44:33 -07:00

61 lines
1.7 KiB
JSON

{
"name": "tehriehlbudget-frontend",
"private": true,
"version": "0.4.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@base-ui/react": "^1.3.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@fontsource-variable/geist": "^5.2.8",
"@supabase/supabase-js": "^2.103.0",
"@tailwindcss/vite": "^4.2.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.8.0",
"pdfjs-dist": "5.4.296",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-pdf": "^10.4.1",
"react-router-dom": "^7.14.0",
"recharts": "^3.8.1",
"shadcn": "^4.2.0",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.2",
"tw-animate-css": "^1.4.0",
"workbox-window": "^7.4.0",
"zustand": "^5.0.12"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.12.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/coverage-v8": "^4.1.4",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0",
"jsdom": "^29.0.2",
"typescript": "~6.0.2",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.4",
"vite-plugin-pwa": "^1.2.0",
"vitest": "^4.1.4"
}
}