Skip to content

Commit c595af6

Browse files
sarahboycenessita
authored andcommitted
Fixed #36578, Refs #35791 -- Ensured inline delete icon scales and stays centered in the admin.
Regression in 87ab54b. Refs #35829. Thank you Natalia Bidart for the review.
1 parent bad03eb commit c595af6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django/contrib/admin/static/admin/css/widgets.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,8 @@ ul.timelist, .timelist li {
568568
.inline-deletelink {
569569
float: right;
570570
text-indent: -9999px;
571-
background: url(../img/inline-delete.svg) 0 0 no-repeat;
571+
background: url(../img/inline-delete.svg) center center no-repeat;
572+
background-size: contain;
572573
width: 1.5rem;
573574
height: 1.5rem;
574575
border: 0px none;

0 commit comments

Comments
 (0)