django-nested-inline icon indicating copy to clipboard operation
django-nested-inline copied to clipboard

NestedTabularInline layout broken by "Add another..." button

Open smcoll opened this issue 11 years ago • 3 comments
trafficstars

The "Add another..." button, in the context of the NestedTabularInline template, is breaking the layout of the table, because the JS is inserting div.add-row after all the tr elements within the tbody, which is invalid. If it were instead inserting it after the table, inside the fieldset, the layout would be fine.

smcoll avatar Sep 30 '14 19:09 smcoll

inf3

Chrome on Linux is ok, but not Firefox - see attachment. Other admin pages put the add link within a td with an appropriate colspan inside a new tr.

chrisyoulden avatar Jun 04 '15 18:06 chrisyoulden

Same discussion here with possible solutions

https://github.com/s-block/django-nested-inline/issues/36

paxelito avatar Jul 21 '15 12:07 paxelito

There's a PR that fixes this in #34

spither avatar Mar 02 '17 10:03 spither