mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 20:45:07 -05:00
The list-width rework (#6409) added a persistent rule `.list[style*="--list-width"] { width: var(--list-width) !important }`. A collapsed list keeps its inline --list-width custom property, so that !important rule overrode `.list.list-collapsed { width: 30px }` and the list stayed full width when collapsed (most visible with the Modern theme, where custom widths are in use). Exclude collapsed lists from the persistent width rule with :not(.list-collapsed), and mark the 30px collapsed width !important so a custom per-list width can never keep a collapsed list expanded. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>