Opened 9 months ago
Closed 8 weeks ago
#36055 closed Bug (fixed)
Admin change form object-tools buttons cover part of the h2 title when the latter occupies multiple lines
Reported by: | ldeluigi | Owned by: | Antoliny |
---|---|---|---|
Component: | contrib.admin | Version: | 5.1 |
Severity: | Normal | Keywords: | object-tools object tools admin css buttons |
Cc: | ldeluigi | Triage Stage: | Ready for checkin |
Has patch: | yes | 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 (23)
comment:1 by , 9 months 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 |
comment:2 by , 9 months ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 8 months ago
Has patch: | set |
---|
comment:5 by , 8 months ago
Needs tests: | set |
---|
comment:6 by , 8 months ago
Needs tests: | unset |
---|
comment:7 by , 8 months ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:14 by , 5 months ago
Has patch: | unset |
---|---|
Resolution: | fixed |
Status: | closed → new |
Triage Stage: | Ready for checkin → Accepted |
Reopening after the reverts.
comment:15 by , 5 months ago
Status: | new → assigned |
---|
comment:17 by , 2 months ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:18 by , 2 months ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Ready for checkin → Accepted |
comment:19 by , 2 months ago
Patch needs improvement: | unset |
---|
comment:22 by , 8 weeks ago
Triage Stage: | Accepted → Ready for checkin |
---|
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