Files
wekan/client/components/main/dueCards.css
T
Lauri OjansivuandClaude Opus 4.8 b3acbd6920 Fix #5999, #5930: show all due cards and make Due Cards list scrollable
Remove the limit: 100 cap in the dueCards publication so all of a user's due
cards across boards are shown (#5999), and add a scoped scroll container so the
Due Cards list scrolls past the first cards on mobile (#5930). Filter/sort logic
extracted to dueCardsLogic.js with unit tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 14:38:16 +03:00

27 lines
855 B
CSS

.due-cards-dueat-list-wrapper {
max-width: min(500px, 65vw);
margin-inline-end: auto;
margin-inline-start: auto;
}
/* Scrollable list container for the Due Cards view.
Scoped to the due-cards list only, not global (issue #5930). */
.due-cards-list {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
/* Leave room for the header bar / results header so the list itself can
scroll instead of being clipped after the first few cards. */
max-height: calc(100vh - 160px);
}
/* On small screens (mobile / iPhone) the previous fixed height clipped the
list at roughly 5 cards. Allow the list to use the available viewport
height and scroll past the first cards. */
@media screen and (max-width: 800px) {
.due-cards-list {
max-height: calc(100vh - 120px);
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}