From 31d36e529325c2f91a91ff5d183b981f1e77b9a3 Mon Sep 17 00:00:00 2001 From: jffarge Date: Mon, 9 Aug 2021 11:54:28 +0200 Subject: [PATCH] fix: :bug: display target blank icon only for sidebar menu Signed-off-by: jffarge --- website/src/css/custom.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 17170f8b..bd962faa 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -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;