diff --git a/client/scss/components/_listing.scss b/client/scss/components/_listing.scss index 5c923047a3..cf31a55254 100644 --- a/client/scss/components/_listing.scss +++ b/client/scss/components/_listing.scss @@ -414,6 +414,8 @@ table.listing { } .page-explorer .w-breadcrumbs { + @apply sm:w-py-2.5; + li[hidden] ~ li:last-child, li:only-child { a { diff --git a/wagtail/admin/templates/wagtailadmin/pages/page_listing_header.html b/wagtail/admin/templates/wagtailadmin/pages/page_listing_header.html index 63712d8a98..2a3ddaeff3 100644 --- a/wagtail/admin/templates/wagtailadmin/pages/page_listing_header.html +++ b/wagtail/admin/templates/wagtailadmin/pages/page_listing_header.html @@ -3,7 +3,7 @@ {% block breadcrumbs %} {# breadcrumbs #} - {% page_breadcrumbs parent_page 'wagtailadmin_explore' url_root_name='wagtailadmin_explore_root' is_expanded=parent_page.is_root classname='sm:w-py-2.5' %} + {% page_breadcrumbs parent_page 'wagtailadmin_explore' url_root_name='wagtailadmin_explore_root' is_expanded=parent_page.is_root %} {% endblock %} {% block actions %}