Problem/Motivation
Olivero's templates/navigation/pager.html.twig
nav element has the layout--content-medium
class, whose CSS rules apply grid-column
at various breakpoints, thus creating additional columns. E.g. grid-column: 1 / 11;
, creating 10 additional columns in the parent container. This issue is also present in Drupal 10.x-dev.
Steps to reproduce
Create a view with table output, pager 'Paged output, full pager', having more selected items then fit on 1 page.
Adding Exposed filters and/or "Global: Result summary" field in the Header section suddenly adds additional columns, breaking the intended, former display.
- Changing the pager type to 'Paged output, mini pager' restores the expected display.
- Changing the pager type to 'Display all items' restores the expected display.
- Having a number of selected items that fit on 1 page restores the expected display
Proposed resolution
Remove the layout--content-medium
class from the pager's nav element.
Remaining tasks
Remove the layout--content-medium
class from the pager's nav element.