Opened 4 days ago
Last modified 4 days ago
#36055 new Bug
Admin change form object-tools buttons cover part of the h2 title when the latter occupies multiple lines
Reported by: | ldeluigi | Owned by: | |
---|---|---|---|
Component: | contrib.admin | Version: | 5.1 |
Severity: | Normal | Keywords: | object-tools object tools admin css buttons |
Cc: | ldeluigi | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | yes |
Description
The culprit seems to be the margin-top: -48px set up at https://github.com/django/django/blob/8d9901c961bf9d5cfa6bddddbbcebfbf487a5125/django/contrib/admin/static/admin/css/base.css#L776C1-L776C2
Change History (1)
comment:1 by , 4 days ago
Summary: | Object tools CSS makes buttons cover part of the h2 title when the latter occupies multiple lines → Admin change form object-tools buttons cover part of the h2 title when the latter occupies multiple lines |
---|---|
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
Replicated. I would probably move the object-tools section below the h1, but above the h2 and still remove the margin. This will need some playing around with