Skip to content

Commit

Permalink
Merge branch 'main' into analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruchika4 authored Jul 26, 2023
2 parents 1724653 + 370682c commit 8d268a4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion libs/blocks/global-navigation/global-navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,23 @@ 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;
}

/* 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;
}

Expand Down

0 comments on commit 8d268a4

Please sign in to comment.