From 370682c1c45cc4060bb54d5d2cf6b7321e6e18ae Mon Sep 17 00:00:00 2001 From: Rares Munteanu Date: Wed, 26 Jul 2023 09:22:39 +0200 Subject: [PATCH] [MWPW-133763] Breadcrumbs mobile alignment (#995) --- libs/blocks/global-navigation/global-navigation.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libs/blocks/global-navigation/global-navigation.css b/libs/blocks/global-navigation/global-navigation.css index 7cffb9acc3..1a64edb39d 100644 --- a/libs/blocks/global-navigation/global-navigation.css +++ b/libs/blocks/global-navigation/global-navigation.css @@ -320,6 +320,15 @@ header.global-navigation { flex-shrink: 0; } +.feds-breadcrumbs li:last-child:not(:first-child) { + padding-right: 12px; +} + +[dir = "rtl"] .feds-breadcrumbs li:last-child:not(:first-child) { + padding-right: 0; + padding-left: 12px; +} + /* Hide all breadcrumbs except the first and last two */ .feds-breadcrumbs li:nth-last-child(n+3):not(:first-child) { display: none; @@ -327,7 +336,7 @@ header.global-navigation { /* If first breadcrumb is not third to last, add ellipsis after it */ .feds-breadcrumbs li:first-child:not(:nth-last-child(-n+3)):after { - content: '/\2003...'; + content: '/\3000…'; padding: 0 0 0 12px; }