File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
packages/components/base/src/breadcrumbs Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { BreadcrumsDropdownContextProvider } from "./context/dropdown";
1313/**
1414 * Props for configuring the Breadcrumbs component
1515 */
16- interface BreadcrumbsProps extends Omit < React . HTMLAttributes < HTMLElement > , "children" > {
16+ interface BreadcrumbsProps extends Omit < React . ComponentPropsWithRef < "nav" > , "children" > {
1717 /** Array of React nodes to be displayed as breadcrumb items, separated by chevron icons */
1818 items : React . ReactNode [ ] ;
1919 /** The number of items to collapse at */
Original file line number Diff line number Diff line change 55 align-items : center ;
66 gap : theme .get-spacing (0.5 );
77 color : theme .get-color (neutral-dark-100 );
8-
9- @include theme .focus ;
8+ white-space : nowrap ;
109}
Original file line number Diff line number Diff line change 44.root {
55 @include text .text-base (p, soft);
66
7- display : inline-flex ;
8- align-items : center ;
9- justify-content : center ;
10- gap : theme .get-spacing (0.5 );
7+ overflow : hidden ;
8+ text-overflow : ellipsis ;
9+ white-space : nowrap ;
10+ flex-shrink : 1 ;
11+ flex-grow : 0 ;
12+
13+ @include theme .focus ;
1114
1215 & .active {
1316 @include text .text-skin (highlight- primary);
You can’t perform that action at this time.
0 commit comments