Skip to content

Commit

Permalink
fix(module:breadcrumb): patch last-child's style indule a is included (
Browse files Browse the repository at this point in the history
  • Loading branch information
stygian-desolator authored Nov 2, 2020
1 parent b36e22c commit 50f0744
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/breadcrumb/style/patch.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

// We introduced an extra layer.
& > @{breadcrumb-prefix-cls}-item:last-child {
& > nz-breadcrumb-item:last-child {
color: @breadcrumb-last-item-color;
a {
color: @breadcrumb-last-item-color;
Expand All @@ -18,10 +18,6 @@ nz-breadcrumb {
display: block;
}

nz-breadcrumb-item:last-child {
color: @breadcrumb-last-item-color;
}

nz-breadcrumb-item:last-child .ant-breadcrumb-separator {
nz-breadcrumb-item:last-child .@{breadcrumb-prefix-cls}-separator {
display: none;
}

0 comments on commit 50f0744

Please sign in to comment.