Skip to content

Support django default styling of paginator  #9

@bokchan

Description

@bokchan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions