Skip to content

Commit fb099a5

Browse files
(BreadCrumbs): update classnames
1 parent d918463 commit fb099a5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/scripts/BreadCrumbs.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ export const Crumb: FC<CrumbProps> = ({
1818
...props
1919
}) => {
2020
const text = children;
21-
const cClassName = classnames(
22-
'slds-list__item slds-text-heading_label',
23-
className
24-
);
21+
const cClassName = classnames('slds-breadcrumb__item', className);
2522

2623
return (
2724
<li {...props} className={cClassName}>
@@ -44,7 +41,9 @@ export const BreadCrumbs: FC<BreadCrumbsProps> = ({
4441
...props
4542
}) => {
4643
const oClassName = classnames(
47-
'slds-breadcrumb slds-list_horizontal',
44+
'slds-breadcrumb',
45+
'slds-list_horizontal',
46+
'slds-wrap',
4847
className
4948
);
5049

0 commit comments

Comments
 (0)