#32999: Admin Tabular Stacked Inline widget headings are not aligned headings
-------------------------------------+-------------------------------------
     Reporter:  Michael              |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  contrib.admin        |                  Version:  3.2
     Severity:  Normal               |               Resolution:
     Keywords:  tabularinline css    |             Triage Stage:
  style styling                      |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by Michael:

Old description:

> [[Image(https://code.djangoproject.com/attachment/ticket/32999/notaligned.png)]]
>
> With the following model:
>
> {{{
> class ApplicantAdmin(admin.TabularInline):
>     model = Application.applicant_set.through
>
> @admin.register(Application)
> class ApplicationAdmin(admin.ModelAdmin):
>     exclude = ('applicant_set', )
>     inlines = (ApplicantAdmin, )
>
> }}}
>
> The heading `Delete?` is on the left, however the delete button is on the
> right, making it confusing for some people.

New description:

 [[https://code.djangoproject.com/attachment/ticket/32999/inline%20tabular.png]]

 With the following model:

 {{{
 class ApplicantAdmin(admin.TabularInline):
     model = Application.applicant_set.through

 @admin.register(Application)
 class ApplicationAdmin(admin.ModelAdmin):
     exclude = ('applicant_set', )
     inlines = (ApplicantAdmin, )

 }}}

 The heading `Delete?` is on the left, however the delete button is on the
 right, making it confusing for some people.

 Another issue is if the stacktabular has many fields:
 Instead of the stacked tabular getting overflow x scroll, the whole page
 does:
 [[https://code.djangoproject.com/attachment/ticket/32999/notaligned.png]]

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32999#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.7be67ca4608cc0ec431df2bcf6500f9f%40djangoproject.com.

Reply via email to