Open pythonvelosiped opened 3 years ago
Yes, django 3.1, exactly the same problem
Judging by the demo on the site, the developer has already fixed this bug, but has not posted a new version. Or it is found only on Django 3.1
I made a fix that fixes the problem of incorrect filter placement.
You need to open the place where you have installed 'site-packages' and follow a certain path.
I have this env/Lib/site-packages/suit/static/suit/css/suit.css
In it, at the very beginning, you need to add:
.main {
width: 100%;
}
#changelist {
display: grid;
grid-template-areas: "list filter";
grid-auto-columns: 5fr 1fr;
}
.changelist-form-container {
grid-area: list;
}
#changelist #changelist-filter {
margin-left: auto;
margin-top: 6px;
grid-area: filter;
}
It worked for me :)
@Aquinary Appreciate the code, but this needs to go into a pull request, please, so it can be part of a release.
@pythonvelosiped look at this fork https://github.com/pulse-mind/django-suit
How to fix that? Django 3.1.6 , template v2