Files
calendar/frontend/print-preview.css
Connor Johnstone 1701a95183 Fix print preview to display all 6 rows for 6-week months
The print preview was only showing 5 rows for months requiring 6 rows
(like November 2025). The issue was that the .calendar container uses
flexbox layout, but the grid wasn't properly constrained to fit within
the fixed paper height.

Changes:
- Set explicit height: 100% on .print-preview-paper .calendar
- Use flex: 1 on calendar-grid to fill remaining space after header
- Add min-height: 0 to both calendar-grid and calendar-day to allow
  flexbox items to shrink below their content size

This allows the CSS Grid's repeat(6, 1fr) to properly distribute all
6 rows evenly within the available space while maintaining the fixed
paper dimensions for consistent printing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 16:30:26 -05:00

104 KiB