fix: 🐛 display target blank icon only for sidebar menu

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2021-08-09 11:54:28 +02:00
parent 795430024b
commit 31d36e5293

View File

@ -129,7 +129,7 @@ p {
line-height: 24px;
}
a[target="_blank"]:not(.edit-this-page) {
a.menu__link[target="_blank"] {
svg {
display: none;
}
@ -137,7 +137,7 @@ a[target="_blank"]:not(.edit-this-page) {
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;