From 288fc6ca72845cd1823f7708cfcf3b9154df1f2c Mon Sep 17 00:00:00 2001 From: Ed Rivas Date: Wed, 21 Jul 2021 17:05:00 -0600 Subject: [PATCH] fix: hide deletelink in Django 3.1+ inlines --- grappelli_safe/static/grappelli/css/modules.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grappelli_safe/static/grappelli/css/modules.css b/grappelli_safe/static/grappelli/css/modules.css index 1ae6551..5297528 100644 --- a/grappelli_safe/static/grappelli/css/modules.css +++ b/grappelli_safe/static/grappelli/css/modules.css @@ -69,6 +69,9 @@ h4.collapse-toggle { background-repeat: no-repeat; cursor: pointer; } +.collapse-toggle .inline-deletelink { + display: none; +} .collapse-closed > .collapse-toggle { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background-position: 0 100%;