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

Bootstrap collapse class overrides Django class #180

Open
13hakta opened this issue Apr 12, 2022 · 1 comment
Open

Bootstrap collapse class overrides Django class #180

13hakta opened this issue Apr 12, 2022 · 1 comment

Comments

@13hakta
Copy link

13hakta commented Apr 12, 2022

Details

  • OS (Operating System) version: Debian Bullseye
  • Browser and browser version: Chrome 100
  • Django version: 3.2
  • Martor version & theme: 1.6.13

Steps to reproduce

  1. Define inline class
    class ObjectInline(GenericTabularInline):
    model = Object
    classes = ("collapse",)

  2. Bootstrap rule overrides Django css and Inline becomes not colapsed but invisible.

.collapse:not(.show) {
    display: none;
}
@agusmakmun
Copy link
Owner

Hello @13hakta , did you guys tried to upgrade the version?

pip install martor --upgrade

Hopefully this fixed in the latest version.

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