Skip to content

Commit

Permalink
FIX Display breadcrumb element from left to right (#925)
Browse files Browse the repository at this point in the history
FIX Display breadcrumb element from left to right
  • Loading branch information
ScopeyNZ committed Aug 14, 2019
2 parents 8f71df6 + a2e98dc commit 9889015
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions client/src/components/Breadcrumb/Breadcrumb.scss
Expand Up @@ -13,7 +13,6 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
direction: rtl;
padding-top: 0; padding-top: 0;


.toolbar & { .toolbar & {
Expand All @@ -24,7 +23,7 @@
float: none; float: none;
display: inline; display: inline;


&:before { &:after {
padding-right: .5rem; padding-right: .5rem;
padding-left: .5rem; padding-left: .5rem;
color: #ced3d9; color: #ced3d9;
Expand Down
5 changes: 5 additions & 0 deletions client/src/components/Breadcrumb/tests/Breadcrumb-story.js
Expand Up @@ -28,6 +28,11 @@ storiesOf('Admin/Breadcrumb', module)
href: 'level1/level2', href: 'level1/level2',
onClick: nodefault, onClick: nodefault,
}, },
{
text: 'Third level',
href: 'level1/level2/level3',
onClick: nodefault,
},
]; ];
return <Breadcrumb crumbs={breadcrumbs} />; return <Breadcrumb crumbs={breadcrumbs} />;
}) })
Expand Down

0 comments on commit 9889015

Please sign in to comment.