We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
In the admin, Django sets the empty-form class to the last item of formset's rows (https://github.com/django/django/blob/main/django/contrib/admin/templates/admin/edit_inline/tabular.html#L30). This class has a display: none; (https://github.com/django/django/blob/main/django/contrib/admin/static/admin/css/forms.css#L499).
empty-form
display: none;
But martor overrides this here: https://github.com/agusmakmun/django-markdown-editor/blob/master/martor/static/martor/css/martor-admin.css#L109
.js-inline-admin-formset .form-row should be replaced by .js-inline-admin-formset .form-row:not(.empty-form).
.js-inline-admin-formset .form-row
.js-inline-admin-formset .form-row:not(.empty-form)
Thanks!
The text was updated successfully, but these errors were encountered:
Hey @Vayel Can I do this please?
Sorry, something went wrong.
@NaincyKumariKnoldus sure!
Hey @Vayel I have raised a PR for this. You can review.
No branches or pull requests
Hi!
In the admin, Django sets the
empty-form
class to the last item of formset's rows (https://github.com/django/django/blob/main/django/contrib/admin/templates/admin/edit_inline/tabular.html#L30). This class has adisplay: none;
(https://github.com/django/django/blob/main/django/contrib/admin/static/admin/css/forms.css#L499).But martor overrides this here: https://github.com/agusmakmun/django-markdown-editor/blob/master/martor/static/martor/css/martor-admin.css#L109
.js-inline-admin-formset .form-row
should be replaced by.js-inline-admin-formset .form-row:not(.empty-form)
.Details
Thanks!
The text was updated successfully, but these errors were encountered: