From af0a754515496889f0c05f1cfac20dbc261ff6dd Mon Sep 17 00:00:00 2001
From: Xavier Carron <33637571+xav-car@users.noreply.github.com>
Date: Tue, 1 Oct 2024 10:43:44 +0200
Subject: [PATCH] tech(pix-return-to): update icon
---
addon/components/pix-return-to.hbs | 4 ++--
addon/styles/_pix-return-to.scss | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/addon/components/pix-return-to.hbs b/addon/components/pix-return-to.hbs
index b31e0a394..d391c83cf 100644
--- a/addon/components/pix-return-to.hbs
+++ b/addon/components/pix-return-to.hbs
@@ -5,9 +5,9 @@
...attributes
>
{{#if (has-block)}}
-
+
{{yield}}
{{else}}
-
+
{{/if}}
\ No newline at end of file
diff --git a/addon/styles/_pix-return-to.scss b/addon/styles/_pix-return-to.scss
index 9eaafbb8a..c11f4b061 100644
--- a/addon/styles/_pix-return-to.scss
+++ b/addon/styles/_pix-return-to.scss
@@ -9,8 +9,9 @@
&__icon {
position: relative;
+ width: 2.3rem;
+ height: 2.3rem;
padding: var(--pix-spacing-1x) var(--pix-spacing-2x);
- font-size: 1rem;
}
&:focus,
@@ -29,11 +30,11 @@
&:hover,
&:active {
.pix-return-to__icon {
- color: $arrowHoverColor;
background-color: $arrowBgColor;
border-radius: 50%;
outline: 1px solid var(--pix-neutral-0);
outline-offset: -3px;
+ fill: $arrowHoverColor;
}
}
}