Extract component for remote translations button

So we're consistent with the rest of the code in the header, which
renders components and not partials.
This commit is contained in:
Javi Martín
2023-01-29 04:34:45 +01:00
parent bbd4d3e62d
commit efc69e8663
8 changed files with 106 additions and 97 deletions

View File

@@ -514,26 +514,6 @@ body > header,
border-bottom: 1px solid #fff;
}
.remote-translations-button {
&.callout {
margin: 0;
padding: rem-calc(6);
[type="submit"] {
@include brand-color;
background: none;
border: 0;
cursor: pointer;
font-weight: bold;
&:hover {
text-decoration: underline;
}
}
}
}
.external-links {
padding: rem-calc(6) 0;
text-align: center;

View File

@@ -0,0 +1,19 @@
.remote-translations-button {
&.callout {
margin: 0;
padding: rem-calc(6);
[type="submit"] {
@include brand-color;
background: none;
border: 0;
cursor: pointer;
font-weight: bold;
&:hover {
text-decoration: underline;
}
}
}
}