-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support django default styling of paginator #9
Comments
I created a branch with the suggested solution and a few other improvements, https://github.com/bokchan/django-admin-inline-paginator/tree/support-django-default-styling
|
@bokchan open a PR to my repo... |
@shinneider I won't have time this weekend but I will try to make it happen next week. |
Hello guys, just faced the same issue. |
I worked on the issue in the weekend. Rebased on top of latest master. My fix works with |
@bokchan make sense A generic solution is a best for this case. but i no have much time for develop it. we keep this pr open, in case someone with availability appears. |
Makes sense @shinneider . I am also quite busy but I will try to work on the issue if I get some extra time. |
I integrated
django-admin-inline-paginator
into our project and it works great! Thanks a lot!However the package defines custom css classes in the paginator.html template
It means that the default django styling of the paginator is overridden.
We experienced that using it together with the default django flat theme resulted in the available page links being rendered as white text on white background.
I suggest a solution where the pagination style is generated with the same classes as in https://github.com/django/django/blob/main/django/contrib/admin/templates/admin/pagination.html
The text was updated successfully, but these errors were encountered: