feat(repo): allow six pinned issues and compact their cards #224
No reviewers
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
codefloe/forgejo-codefloe!224
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pinned-issues-six"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Raise the default number of pinned issues per repository from 3 to 6 and make the pinned cards compact enough that six fit comfortably above the issue list.
modules/setting/repository.go,custom/conf/app.example.ini: default[repository.issue] MAX_PINNEDis now 6.web_src/css/codefloe/pinned-issues.css(new, imported fromweb_src/css/codefloe/index.css): lay pins out as up to two rows of three (two columns below 1024px, one on mobile), clamp titles to two lines, and flow the author line, task progress and labels onto one wrapping line with smaller labels and tighter padding.README.md: add the custom changes row.CSS only, no template changes; applies to every theme.
Instances that set
MAX_PINNEDexplicitly keep their value.