You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix mobile view overflow in program-analysis and financial-reports pages
🔧 Mobile Header Controls Fix:
- Changed header controls from horizontal flex to responsive flex-col/flex-row
- Added proper mobile stacking for select boxes and buttons
- Implemented w-full sm:w-auto for proper mobile sizing
📱 Key Mobile Improvements:
- Header controls now stack vertically on mobile (< 640px)
- Select boxes use full width on mobile, auto width on larger screens
- Buttons adapt with shortened text labels on mobile
- Added proper gap spacing (gap-3 sm:gap-4) for consistent spacing
🎯 Specific Changes:
Financial Reports:
- "Export Report" → "Export" on mobile
- Full-width select boxes and button on mobile
- Vertical stacking prevents horizontal overflow
Program Analysis:
- "Generate Report" → "Generate" on mobile
- Same responsive pattern applied
- Consistent mobile behavior
🔨 Additional CSS Enhancements:
- Added header-content width management for mobile
- Select box text-overflow: ellipsis for long options
- min-width: 0 to prevent select box expansion
- Maintained existing mobile responsive patterns
✅ Overflow Issues Resolved:
- No more horizontal scrolling on mobile devices
- Touch-friendly interface with proper spacing
- Maintains functionality while improving UX
- Consistent with Botnar spacing system
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments