From 2905cbfd06794c31aa98713292bb506f24fa0aee Mon Sep 17 00:00:00 2001 From: Pablousse Date: Sun, 25 Sep 2022 10:50:47 +0200 Subject: [PATCH] Fixed #34049 -- Fixed displaying SVGs patterns. Regression in bc7aa2a5e91cf65fc7510edaf1776528c7ad07b4. --- django/contrib/admin/static/admin/css/base.css | 4 ++++ django/contrib/admin/templates/admin/base.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index b0a8300bf4b..89c642b38f8 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -1131,3 +1131,7 @@ a.deletelink:focus, a.deletelink:hover { color: white; background: var(--link-hover-color); } + +.base-svgs { + display: none; +} diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 32613e61846..b9811a0bdb2 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -111,7 +111,7 @@ - +