Opened 5 weeks ago

Last modified 4 weeks ago

#36079 assigned Cleanup/optimization

Size of the object's str in TabularInline is too small

Reported by: Antoliny Owned by: Antoliny
Component: contrib.admin Version: dev
Severity: Normal Keywords: Inline, Font, accessibility
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Antoliny)

I feel that the str of the object positioned above the form inside the TabularInline is too small.

(There is a significant difference in the object str representation between TabularInline and StackedInline.)
I think it would be better if the size were a bit larger or matches the size of StackedInline.

Attachments (3)

tabular_inline_object_str.png (43.1 KB ) - added by Antoliny 5 weeks ago.
inline_object_str_diff.png (28.7 KB ) - added by Antoliny 5 weeks ago.
inline_fields_layout.png (37.3 KB ) - added by Antoliny 5 weeks ago.

Download all attachments as: .zip

Change History (10)

by Antoliny, 5 weeks ago

comment:1 by Antoliny, 5 weeks ago

Owner: set to Antoliny
Status: newassigned

comment:2 by Antoliny, 5 weeks ago

Version: 5.1dev

by Antoliny, 5 weeks ago

Attachment: inline_object_str_diff.png added

comment:3 by Antoliny, 5 weeks ago

Description: modified (diff)

comment:4 by Antoliny, 5 weeks ago

Summary: Size of the object's str in inlineSize of the object's str in TabularInline

comment:5 by Sarah Boyce, 5 weeks ago

Keywords: accessibility added
Summary: Size of the object's str in TabularInlineSize of the object's str in TabularInline is too small
Triage Stage: UnreviewedAccepted
UI/UX: set

Agreed, this will likely need some input from the accessibility team

by Antoliny, 5 weeks ago

Attachment: inline_fields_layout.png added

comment:6 by Antoliny, 5 weeks ago

The main difference between TabularInline and StackedInline is the row/column arrangement of the fields.

Therefore, I don't think the headers of the forms inside TabularInline and StackedInline need to be in different formats. How about making the form headers inside both TabularInline and StackedInline the same style?
Even if they are the same, I believe the differences in their layouts (row/column) are enough to distinguish them. If they are the same, I personally prefer the header style of StackedInline😃(especially considering situations with many forms)

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