mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Rules, My Cards, Due Cards and Global Search each keep their controls in the shared page sidebar, and each draws them as `.board-header-btn` - which is what they were when they lived in that page's own second header bar. Every rule for that class is scoped to `#header-quick-access` (header.css), so inside the sidebar they had no styling at all. On the Rules page that is three bare links jammed onto one line - "← Board / Workflow view / Import export" - with the icons run into the words and nothing to click but the text. They are rows now: one per line, the width of the panel, padding to click against, a hover, and the icon in a fixed 16px column so a row with a caret and a row without one still start their words at the same x. That is the shape the board sidebar's own rows have. Both sidebars built on this shell get it - All Boards' as well as the page one - because both had the same problem for the same reason. tests/pageSidebarControls.test.cjs pins it, including that this is the class the pages actually draw rather than a new one invented for the sidebar. Thanks to xet7 !