From 74c63e448e28d9766f7ec631aac2645384b0975f Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sat, 11 Nov 2023 21:13:10 -0800 Subject: [PATCH] fix(style): dont internal-link highlight when image (closes #581) --- quartz/styles/base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index c729656..8bb8efb 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -64,7 +64,7 @@ a { color: var(--tertiary) !important; } - &.internal { + &.internal:not(:has(img)) { text-decoration: none; background-color: var(--highlight); padding: 0 0.1rem;