From 18119ecc66bb3477c9df7f987fd2ca71a9857f83 Mon Sep 17 00:00:00 2001 From: Benjamin Cutler Date: Sun, 5 Jan 2025 17:40:44 -0700 Subject: [PATCH] remove special formatting for donation admin page (#760) [#188745194] --- tracker/admin/donation.py | 3 --- tracker/static/admin/donation.css | 4 ---- 2 files changed, 7 deletions(-) delete mode 100644 tracker/static/admin/donation.css diff --git a/tracker/admin/donation.py b/tracker/admin/donation.py index b0251b041..675c7ca9d 100644 --- a/tracker/admin/donation.py +++ b/tracker/admin/donation.py @@ -22,9 +22,6 @@ @register(models.Donation) class DonationAdmin(EventLockedMixin, CustomModelAdmin): - class Media: - css = {'all': ('admin/donation.css',)} - autocomplete_fields = ['event', 'donor'] list_display = ( 'id', diff --git a/tracker/static/admin/donation.css b/tracker/static/admin/donation.css deleted file mode 100644 index 047cda77b..000000000 --- a/tracker/static/admin/donation.css +++ /dev/null @@ -1,4 +0,0 @@ -.model-donation .field-comment { - max-width: 20vw; - overflow-wrap: break-word; -}