Problem/Motivation

The views mini pager is not styled according to Bootstrap 5 pagination examples

Remark: There is one rather strange CSS setting for links (in a modal) originating from here. This is causing links in the modal to have underline even if bootstrap does not want underline on this links (like for class page-link). But due to specifity of the jquery.ui.scss the bootstrap CSS gets cancelled. I currently do not see, where this jquery.ui.scss link formatting is helpful. I would remove that entirely, since this interferes with regular Bootstrap styles. @Maintainers: What is your opinion on this?

Steps to reproduce

Use a view with a mini pager
for example media library widget is using mini pager by default.

Proposed resolution

change the views-mini-pager.html.twig template and add the Bootstrap classes (leaning on pager.html.twig, that has already been changed in that direction)
This will also help a bit on #3475403: Apply appropriate styling to Media Library

Remaining tasks

User interface changes

Screenshot before:
Screenshot before
Screenshot after:
Screenshot after

API changes

Data model changes

Issue fork bootstrap5-3476511

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

stefan.korn created an issue. See original summary.

stefan.korn’s picture

Status: Active » Needs review
riddhi.addweb’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new89.47 KB
new66.77 KB
new80.72 KB

The mentioned page issue is resolved, & I have also checked and it is working as expected. I am attaching the Screenshots & doing RTBC for the same.

stefan.korn’s picture

reroll patch with latest head

jannakha’s picture

+1 ready to be merged

vladimiraus’s picture

Status: Reviewed & tested by the community » Fixed

Thank you all for your contributions. 🎂
Committed.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.