mirror of
https://github.com/wekan/wekan.git
synced 2026-11-08 11:25:19 -05:00
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>
27 lines
855 B
CSS
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;
|
|
}
|
|
}
|