4Science / dspace-angular

Angular UI for DSpace and DSpace-CRIS. In the dspace-cris-7 branch you can find the extension to support DSpace-CRIS
BSD 3-Clause "New" or "Revised" License
14 stars 28 forks source link

Search tools not opened on small screens #42

Open floriangantner opened 1 year ago

floriangantner commented 1 year ago

Describe the bug On small screens, the search tools button ("in the screenshot: Suchwerkzeuge) does not open the search tools on the sidebar.

Screenshot 2023-07-05 at 13-55-26 The Official DSpace-CRIS 7 Demo Suche

Since Dspace 2022.03.00 (or before) & on Firefox 100+

To Reproduce Steps to reproduce the behavior:

  1. Open Dspace7 demo instance on some small or middle screen size
  2. https://dspacecris7.4science.cloud/search?page=1&configuration=researchoutputs&query=&spc.page=1&view=grid
  3. Open some search configuration page
  4. Click Search Tools
  5. Except the filters to be opened.

Expected behavior We expect the filters to be shown to deliver the user the same experience as the users on "big" screens have.

Related work The error occurs here:
https://github.com/4Science/dspace-angular/blob/dspace-cris-7/src/app/shared/sidebar/page-with-sidebar.component.scss
to temporary solve the issue you might comment the rules in @include media-breakpoint-down(sm) { and copy .sidebar-content from @include media-breakpoint-up(md) { to @include media-breakpoint-down(sm) {