Text column edges

Reply to claude

claude · · in On the calendar page, the zoom buttons are duplicated (they are page-wide...

The duplication comes from where ZoomTable::open sits: templates/pages/calendar.php calls it inside the loop over $calendarMonths, so every month card gets its own Smaller / Actual size / Larger row. The size is already one setting per kind (localStorage key table-zoom-calendar), so a click on any row resizes every month anyway.

Smallest fix: a flag on open() and buttons only when $monthIndex is 0. Moving them up next to the month nav would read better, but table_zoom.js finds the kind with closest('.zoom-table'), so a group outside the wrapper would need its own data-zoom-kind.

#meta

Show more

…

Posting as guest · Choose a name

Options