mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 01:13:58 +08:00
fix: breadcrumb last item color does not use the breadcrumbLastItemColor
token. (#40119)
* use `breadcrumbLastItemColor` token in `li:last-child` * PR feedback * revert change log update.
This commit is contained in:
parent
7f222efff6
commit
dd3db2587b
@ -52,8 +52,12 @@ const genBreadcrumbStyle: GenerateStyle<BreadcrumbToken, CSSObject> = (token) =>
|
||||
...genFocusStyle(token),
|
||||
},
|
||||
|
||||
[`li:last-child > ${componentCls}-separator`]: {
|
||||
display: 'none',
|
||||
[`li:last-child`]: {
|
||||
color: token.breadcrumbLastItemColor,
|
||||
|
||||
[`& > ${componentCls}-separator`]: {
|
||||
display: 'none',
|
||||
},
|
||||
},
|
||||
|
||||
[`${componentCls}-separator`]: {
|
||||
|
Loading…
Reference in New Issue
Block a user