Skip to content

Commit

Permalink
Reinstating pseudo css and removing the material icon and adding "alt…
Browse files Browse the repository at this point in the history
…ernative text" to the pseudo element
  • Loading branch information
laurenhitchon committed Jul 11, 2023
1 parent f722548 commit b7e2b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/components/breadcrumbs/_breadcrumbs.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<ol>
{{#each items}}
<li>
<span class="material-icons nsw-material-icons" focusable="false" aria-hidden="true">keyboard_arrow_right</span>
<a href="{{url}}"{{#if @last}} class="current" aria-current="page"{{/if}}>{{text}}</a>
</li>
{{/each}}
Expand Down
10 changes: 3 additions & 7 deletions src/components/breadcrumbs/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@
li {
display: none;

&:first-of-type {
.nsw-material-icons {
display: none;
}
}

.nsw-material-icons {
&::before {
@include material-icons;
content: 'keyboard_arrow_right' / '';
font-size: rem(map-get($nsw-icon-sizes, 20));
line-height: rem(8px);
display: inline-block;
Expand Down

0 comments on commit b7e2b9e

Please sign in to comment.