CyberStrikeAI/web/static/css
sycmacmini 6ff1722ccb fix: skills list collapsed to a 16px sliver, unscrollable on phones
A user reported the Skills page still would not scroll vertically. This was a
seventh bug class none of the existing checks covered: a height-locked flex
column whose inner scroller is squeezed to nothing.

.page-content-with-pagination is height:100% + overflow:hidden, and #skills-list
is flex:1 + min-height:0. On a phone the stats cards and search bar above the
list consume the whole column, so the list collapsed to a 16px box holding
5623px of skill cards — and because the parent cannot scroll either, everything
past that sliver was unreachable.

Make the page body the single scroller instead, give the list its natural
height, and drop the bottom-pinned pagination bar into the flow. Same shape
fixed on the RBAC roles tab body (28px).

Added check 9 to mobile-audit.mjs for this class: an overflow-y:auto region
under 140px tall holding at least twice its height in content, with no
scrollable ancestor. It found both cases above and now reports 0.

Also honoured the upstream 2-up stats grid at <=768px, which a later rule was
overriding into four full-width cards that pushed the list below the fold.

Audit at 390x844 and 360x800 across 31 pages: all nine checks 0. Desktop
1440x900 unchanged. Frontend tests 17 pass / 2 pre-existing failures.
2026-09-29 07:22:22 +08:00
..
api-docs-mobile.css test: add unified mobile audit and clear every finding it made 2026-09-29 01:39:33 +08:00
c2.css Add files via upload 2026-08-13 22:15:08 +08:00
chat-plan-progress.css feat(ui): 显示 Agent 任务进度列表 (#251) 2026-08-14 10:44:03 +08:00
mobile.css fix: skills list collapsed to a 16px sliver, unscrollable on phones 2026-09-29 07:22:22 +08:00
style.css feat: add runtime storage cleanup with per-category retention (#310) (#313) 2026-09-25 14:46:23 +08:00
tool-guard.css feat: add configurable tool call blocking and monitoring 2026-09-08 09:44:32 +08:00