Will Paginate link renderer styles for Twitter Bootstrap 4
Rails Engine that extends will_paginate stylings to match the pagination styling conventions in Twitter's Bootstrap 4 toolkit.
Add to your Gemfile:
gem 'will_paginate-bootstrap4'
Just like you would in the regular will_paginate. If you've got a need to use the default will_paginate stylings, pass an option like so:
<%= will_paginate @collection, renderer: WillPaginate::ActionView::BootstrapLinkRenderer %>
CSS:
.pagination {
margin-top: 10px;
align-items: center;
justify-content: center;
}
Copyright (c) 2016-2017 Ivan Palamarchuk released under the MIT license