Fixing dark mode external link display

- Only apply %external-link in a:after
pull/893/head
Iaian Weber 6 years ago
parent 33c986fcf0
commit f208e4d45b

@ -11,7 +11,9 @@
> h1 { @extend ._lined-heading; } > h1 { @extend ._lined-heading; }
> h1:first-child { margin-top: 0; } > h1:first-child { margin-top: 0; }
a[href^="http:"], a[href^="https:"] { @extend %external-link; } a[href^="http:"], a[href^="https:"] {
&:after { @extend %external-link; }
}
a:not([href]) { a:not([href]) {
color: inherit; color: inherit;

@ -362,8 +362,10 @@
padding: .75rem 0; padding: .75rem 0;
font-size: .8125rem; font-size: .8125rem;
text-align: center; text-align: center;
@extend %external-link;
&:after { visibility: hidden; } &:after {
@extend %external-link;
visibility: hidden;
}
&:hover:after { visibility: visible; } &:hover:after { visibility: visible; }
} }

Loading…
Cancel
Save