From 64349af06a9d586b3544d7c57f7f71e64e547aca Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Sun, 14 Mar 2021 22:20:28 +1300 Subject: [PATCH] Fixed link-contained code block text color Removes direct ancestor requirement, any content wrapped in an anchor tag is within the content boundaries of representing a link. --- src/assets/stylesheets/main/_typeset.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/stylesheets/main/_typeset.scss b/src/assets/stylesheets/main/_typeset.scss index bc06bb516..6b4dd69db 100644 --- a/src/assets/stylesheets/main/_typeset.scss +++ b/src/assets/stylesheets/main/_typeset.scss @@ -210,7 +210,7 @@ kbd { } // Ensure link color in code blocks - a > code { + a code { color: currentColor; }