[Django] #36055: Object tools CSS makes buttons cover part of the h2 title when the latter occupies multiple lines

3 views
Skip to first unread message

Django

unread,
Jan 2, 2025, 4:55:46 AM1/2/25
to django-...@googlegroups.com
#36055: Object tools CSS makes buttons cover part of the h2 title when the latter
occupies multiple lines
-------------------------------------+-------------------------------------
Reporter: ldeluigi | Type: Bug
Status: new | Component:
| contrib.admin
Version: 5.1 | Severity: Normal
Keywords: object-tools object | Triage Stage:
tools admin css buttons | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
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

[[Image(https://github.com/user-attachments/assets/ab2c2c09-195b-
4ba0-a106-2096f2c3ed87)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/36055>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages