Commit Graph

2 Commits

Author SHA1 Message Date
73dde9b40d feat: add responsive typography scaling for desktop readability
- Add CSS clamp() for fluid font-size scaling (16px to 20px based on viewport)
- Apply responsive breakpoint classes to all components:
  * text-xs → lg:text-sm xl:text-base
  * text-sm → lg:text-base xl:text-lg
  * text-base → lg:text-lg xl:text-xl
  * text-lg → lg:text-xl xl:text-2xl
  * text-xl → lg:text-2xl xl:text-3xl
  * text-2xl → lg:text-3xl xl:text-4xl
  * text-3xl → lg:text-4xl xl:text-5xl
- Apply responsive padding/spacing scaling proportionally
- Updated 27 component and page files
- Build verified: 6 routes, zero TypeScript errors
- Fixes readability on MacBook Pro 14" and other desktop screens without browser zoom
2026-04-19 18:03:21 +03:00
ed5bbbfca0 refactor: extract ScannerSection component
- Created frontend/components/ScannerSection.tsx (76 lines)
- Moved mode switcher and scanner UI from page.tsx
- Props: mode, onModeChange, showScanner, onShowScanner, onScanSuccess, onOCRMatch, onAddItemClick
- Removed unused ArrowDownCircle, ArrowUpCircle imports from page.tsx
- All 291 tests passing, build successful
2026-04-19 14:47:15 +03:00