From 78b8b7c6c6093150c3df013a706299f49ee8f7e1 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Tue, 17 Oct 2023 09:31:00 -0400 Subject: [PATCH] Switch breadcrumbs so only the last element is bold --- .../templates/wagtailadmin/shared/breadcrumbs.html | 4 ++-- .../wagtailadmin/shared/page_breadcrumbs.html | 4 ++-- wagtail/admin/tests/pages/test_explorer_view.py | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.html b/wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.html index 33b80d55c99d..0b0d5fbfca62 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.html +++ b/wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.html @@ -7,7 +7,7 @@ `classname` - Modifier classes `is_expanded` - Whether the breadcrumbs are always expanded or not, if True the breadcrumbs will not be collapsible {% endcomment %} -{% with breadcrumb_link_classes='w-flex w-items-center w-h-full w-text-text-label w-pr-0.5 w-text-14 w-no-underline w-outline-offset-inside hover:w-underline hover:w-text-text-label w-h-full' breadcrumb_item_classes='w-h-full w-flex w-items-center w-overflow-hidden w-transition w-duration-300 w-whitespace-nowrap w-flex-shrink-0 w-font-bold' icon_classes='w-w-4 w-h-4 w-ml-3' %} +{% with breadcrumb_link_classes='w-flex w-items-center w-h-full w-text-text-label w-pr-0.5 w-text-14 w-no-underline w-outline-offset-inside hover:w-underline hover:w-text-text-label w-h-full' breadcrumb_item_classes='w-h-full w-flex w-items-center w-overflow-hidden w-transition w-duration-300 w-whitespace-nowrap w-flex-shrink-0' icon_classes='w-w-4 w-h-4 w-ml-3' %} {# Breadcrumbs are visible on mobile by default but hidden on desktop #}