https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41963

--- Comment #4 from Paul Derscheid <[email protected]> ---
Created attachment 194353
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194353&action=edit
Bug 41963: (follow-up) Extend collapsible toolbar to search results

- Extend the collapsible toolbar pattern to the catalog search
  results page (opac-results.tt) which has the same #floating
  sticky toolbar consuming the viewport on mobile
- Un-scope .toolbar-collapse-toggle and .toolbar-collapse CSS
  rules so they apply globally (safe: only pages with those HTML
  classes are affected)
- Add #results body ID to the per-item .actions-menu compact
  override alongside #opac-userlists and #opac-lists
- Move the toggle click handler from opac-shelves.tt inline script
  to global.js to avoid duplication across pages

Test plan:
- Apply patch on top of Bug 41963 base patch
- Run: yarn css:build
- Run: koha-plack --reload kohadev
- Perform a search that returns results
- At mobile viewport (<=608px), verify toolbar is collapsed behind
  a "Search controls" toggle bar
- Click the toggle to expand, verify pagination, sort, and batch
  controls are all accessible
- Verify per-item actions display as compact inline links
- Navigate to a list page and verify collapse still works
- At desktop width (>608px), verify both pages display toolbars
  normally with no toggle button visible

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to