projectblacklight / blacklight

Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr) index.
http://projectblacklight.org/
Other
757 stars 256 forks source link

Duplicate pagination class #3095

Closed jcoyne closed 8 months ago

jcoyne commented 9 months ago

It is on the section and the ul elements:

https://github.com/projectblacklight/blacklight/blob/main/app/components/blacklight/response/pagination_component.html.erb#L1C38-L1C38 https://github.com/projectblacklight/blacklight/blob/main/app/views/kaminari/blacklight/_paginator.html.erb#L12

This means that any style applied to .pagination is applied twice, making it not very useful.

jcoyne commented 9 months ago

It looks like bootstrap puts the .pagination class on the ul, so we should probably change the one on the <section>

https://getbootstrap.com/docs/5.3/components/pagination/