Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use small or large classes #26

Open
Stivaros opened this issue May 13, 2017 · 1 comment
Open

Use small or large classes #26

Stivaros opened this issue May 13, 2017 · 1 comment

Comments

@Stivaros
Copy link

Is there a way to support .pagination-sm or .pagination-lg?

Bootstrap Ref: http://getbootstrap.com/components/#sizing

Thanks

@ChristianClassen
Copy link
Contributor

ChristianClassen commented May 31, 2017

@Stivaros Yes it's possible. Had the same need and fixed it with #25 .
Here's how to do it:

<%= will_paginate(@things, renderer: WillPaginate::ActionView::Bootstrap4LinkRenderer, class: 'pagination-lg') %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants