Merge pull request #878 from slumbering/830-target-blank

display target blank icon only for sidebar menu
This commit is contained in:
Sam Alba 2021-08-09 13:48:52 +02:00 committed by GitHub
commit ac56f4490c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,15 +129,15 @@ p {
line-height: 24px;
}
a[target="_blank"]:not(.edit-this-page) {
a.menu__link[target="_blank"] {
svg {
display: none;
}
&:after {
&:after {
background: var(--ifm-color-primary-darker);
mask: url("/img/Dagger_Icons_External-link.svg") no-repeat;
position: absolute;
content:'';
content: "";
right: var(--ifm-menu-link-padding-horizontal);
top: var(--ifm-menu-link-padding-vertical);
height: 1.25rem;