Skip to content

Commit

Permalink
fix: changed alignment of external link icon in cta button
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Oct 9, 2023
1 parent 916d233 commit df03b1d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/theme/ItaliaTheme/Blocks/_ctaBlock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
color: $secondary-text;
font-size: 0.9rem;
text-transform: uppercase;
position: relative;

&:hover,
&:focus {
Expand All @@ -47,6 +48,9 @@
}
.external-link {
fill: $external-link-fill-buttons !important;
position: absolute;
top: 3px;
right: 3px;
}
}

Expand Down Expand Up @@ -121,6 +125,13 @@
padding: 18px 60px;
font-weight: bold;
font-size: 1rem;
position: relative;

.external-link {
position: absolute;
top: 3px;
right: 3px;
}

&:hover,
&:focus {
Expand Down

0 comments on commit df03b1d

Please sign in to comment.