Skip to content

Commit

Permalink
♻️ admin: Add PixIcon in Breadcrumb component
Browse files Browse the repository at this point in the history
  • Loading branch information
mcampourcy committed Nov 5, 2024
1 parent 47bc042 commit 6159ca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions admin/app/components/layout/breadcrumb.gjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PixIcon from '@1024pix/pix-ui/components/pix-icon';
import { LinkTo } from '@ember/routing';
import { service } from '@ember/service';
import FaIcon from '@fortawesome/ember-fontawesome/components/fa-icon';
import Component from '@glimmer/component';

export default class Breadcrumb extends Component {
Expand Down Expand Up @@ -46,7 +46,7 @@ export default class Breadcrumb extends Component {
<li>
<LinkTo @route={{crumb.path}}>{{crumb.label}}</LinkTo>
</li>
<FaIcon @icon="chevron-right" />
<PixIcon @name="chevronRight" />
{{else}}
<li>
<h1>{{crumb.label}}</h1>
Expand Down
2 changes: 1 addition & 1 deletion admin/app/styles/components/layout/breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

> svg {
width: 0.45rem;
width: 1.2rem;
margin: 0 0.4rem;
}
}

0 comments on commit 6159ca4

Please sign in to comment.