Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 46697 icona link esterni in linea con testo #355

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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