Skip to content

Commit

Permalink
tech(pix-return-to): update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
xav-car committed Sep 24, 2024
1 parent 0ca2140 commit e13124f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions addon/components/pix-return-to.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
...attributes
>
{{#if (has-block)}}
<span aria-hidden="true" class="pix-return-to__icon"><FaIcon @icon="arrow-left" /></span>
<PixIcon @name="arrowLeft" aria-hidden="true" class="pix-return-to__icon" />
<span class="pix-return-to__text"> {{yield}} </span>
{{else}}
<span title="Flèche de retour" class="pix-return-to__icon"><FaIcon @icon="arrow-left" /></span>
<PixIcon class="pix-return-to__icon" arial-label={{@arrowLabel}} @name="arrowLeft" />
{{/if}}
</LinkTo>
4 changes: 2 additions & 2 deletions addon/styles/_pix-return-to.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
&__icon {
position: relative;
padding: var(--pix-spacing-1x) var(--pix-spacing-2x);
font-size: 1rem;
width: 1rem;
}

&:focus,
Expand All @@ -29,7 +29,7 @@
&:hover,
&:active {
.pix-return-to__icon {
color: $arrowHoverColor;
fill: $arrowHoverColor;
background-color: $arrowBgColor;
border-radius: 50%;
outline: 1px solid var(--pix-neutral-0);
Expand Down

0 comments on commit e13124f

Please sign in to comment.