Opened 9 years ago

Closed 9 years ago

#25586 closed Bug (fixed)

Admin's tabular inline fields may be misaligned if the first form field is hidden

Reported by: Daniel Hahler Owned by: nobody
Component: contrib.admin Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If the first form field in a tabular inline is hidden, the first <th> won't have colspan=2 which is meant to account for the first <td class="original"> which doesn't have a corresponding <th>. This will cause the table cells to be misaligned. More details on the pull request.

Change History (2)

comment:1 by Tim Graham, 9 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In 1745aa0:

Fixed #25586 -- Fixed possible table cell misalignment in admin's tabular inlines.

The table body (tbody) was shifted by one column to the left
if the first inline form field is hidden.

Note: See TracTickets for help on using tickets.
Back to Top