Skip to content

Commit

Permalink
fix: aligned external link icon with text
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Oct 6, 2023
1 parent 2b2e9e4 commit 916d233
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const CompleteBlockLinksTemplate = ({
icon="it-external-link"
title={title}
size="xs"
className="align-top ms-1 external-link"
className="ms-1 align-sub external-link"
/>
)}
</CardTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const UniversalLink = ({
icon="it-external-link"
title={title}
size="xs"
className="align-top ms-1 external-link"
className="ms-1 align-sub external-link"
/>
)}
</a>
Expand Down
3 changes: 3 additions & 0 deletions src/theme/ItaliaTheme/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@

.external-link {
fill: $link-color !important;
&.align-sub {
vertical-align: sub;
}

&:hover {
fill: #004080 !important;
Expand Down

0 comments on commit 916d233

Please sign in to comment.