Skip to content

Commit

Permalink
Extract icon
Browse files Browse the repository at this point in the history
  • Loading branch information
salarenko committed Oct 29, 2020
1 parent 7fb15a7 commit 1fa3b15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions src/breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@ $fd-breadcrumb-border-top-radius: 0.125rem !default;
}

&__dropdown-icon {
@include fd-reset();
@include fd-icon('slim-arrow-down');

text-decoration: inherit;
color: var(--sapLinkColor);
@include fd-icon-element-base() {
text-decoration: inherit;
color: var(--sapLinkColor);
}
}
}
4 changes: 2 additions & 2 deletions stories/breadcrumb/breadcrumb.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The breadcrumb component is a type of navigation that indicates the position of
- Independent object pages, such as fact sheets
`,
tags: ['f3', 'a11y', 'theme'],
components: ['popover', 'list', 'breadcrumb']
components: ['popover', 'list', 'breadcrumb', 'icon']
}
};

Expand Down Expand Up @@ -57,7 +57,7 @@ export const overflow = () => `
aria-haspopup="true"
>
...
<span class="fd-breadcrumb__dropdown-icon"></span>
<i aria-label="Show collapsed breadcrumbs" class="fd-breadcrumb__dropdown-icon sap-icon sap-icon--slim-arrow-down"></i>
</div>
</div>
<div class="fd-popover__body fd-popover__body--no-arrow" aria-hidden="true" id="breadcrumb1">
Expand Down

0 comments on commit 1fa3b15

Please sign in to comment.