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

Paul Derscheid <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #194356|0                           |1
        is obsolete|                            |

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

- Add collapsible toolbar wrapper and toggle to opac-results.tt
- Move toggle click handler from opac-shelves.tt to global.js
  so it works on both pages
- Un-scope .toolbar-collapse-toggle and .toolbar-collapse CSS
  rules to apply globally
- Add #results to .actions-menu compact override

Test plan:
- Open the OPAC search results page on a mobile viewport (<=608px)
- Observe the toolbar is permanently expanded and sticky,
  consuming viewport space before search results are visible
- Apply patch
- Run: yarn css:build
- Run: koha-plack --reload kohadev
- Reload the search results page at the same mobile viewport
- Confirm the toolbar is collapsed with a "Search controls" toggle
- Click the toggle to expand/collapse the toolbar
- Verify the list view (opac-shelves) still works as before
- On desktop (>608px), confirm no toggle button is visible and
  the toolbar displays normally

-- 
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