Skip to content

Commit 64349af

Browse files
authored
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.
1 parent 55c150f commit 64349af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/stylesheets/main/_typeset.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ kbd {
210210
}
211211

212212
// Ensure link color in code blocks
213-
a > code {
213+
a code {
214214
color: currentColor;
215215
}
216216

0 commit comments

Comments
 (0)