Skip to content

Breadcrumb - how to select last:child for styling #31981

Discussion options

You must be logged in to vote

Because the existing styles references the .ms-Breadcrumb-itemLink classname I think you'll need to use it as well:

const breadcrumbStyles = {
  listItem: {
    ':last-child .ms-Breadcrumb-itemLink': {
        fontWeight: 100
    }
  }
}```

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by khmakoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants