From d799f491c485837a8fa578618e319db53d83455a Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Tue, 12 Dec 2023 17:39:19 +0000 Subject: [PATCH] Replace reordering utility with generic tailwind --- client/scss/overrides/_utilities.legacy.scss | 4 ---- wagtail/admin/templates/wagtailadmin/pages/index.html | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/client/scss/overrides/_utilities.legacy.scss b/client/scss/overrides/_utilities.legacy.scss index c28c31a1d2..56714606e6 100644 --- a/client/scss/overrides/_utilities.legacy.scss +++ b/client/scss/overrides/_utilities.legacy.scss @@ -23,10 +23,6 @@ } } -body.reordering { - overflow: visible; -} - // Show a transparency grid in background .show-transparency { background: url('#{$images-root}transparency.svg'); diff --git a/wagtail/admin/templates/wagtailadmin/pages/index.html b/wagtail/admin/templates/wagtailadmin/pages/index.html index 80783a75a1..8a7d11e0bd 100644 --- a/wagtail/admin/templates/wagtailadmin/pages/index.html +++ b/wagtail/admin/templates/wagtailadmin/pages/index.html @@ -1,6 +1,6 @@ {% extends "wagtailadmin/generic/index.html" %} {% load wagtailadmin_tags i18n %} -{% block bodyclass %}page-explorer {% if ordering == 'ord' %}reordering{% endif %}{% endblock %} +{% block bodyclass %}page-explorer {% if ordering == 'ord' %}w-overflow-visible{% endif %}{% endblock %} {% block header %} {% page_permissions parent_page as parent_page_perms %}