1
0
mirror of https://github.com/django/django.git synced 2025-09-10 11:09:12 +00:00

Fixed #36578, Refs #35791 -- Ensured inline delete icon scales and stays centered in the admin.

Regression in 87ab54b488cb58d810939112f208bb37068710e0. Refs #35829.

Thank you Natalia Bidart for the review.
This commit is contained in:
Sarah Boyce 2025-08-28 15:09:39 +02:00 committed by nessita
parent bad03eb108
commit c595af6545

View File

@ -568,7 +568,8 @@ ul.timelist, .timelist li {
.inline-deletelink { .inline-deletelink {
float: right; float: right;
text-indent: -9999px; text-indent: -9999px;
background: url(../img/inline-delete.svg) 0 0 no-repeat; background: url(../img/inline-delete.svg) center center no-repeat;
background-size: contain;
width: 1.5rem; width: 1.5rem;
height: 1.5rem; height: 1.5rem;
border: 0px none; border: 0px none;