Skip to content

Commit 6d36605

Browse files
committed
Don't set text color of <code> elements when they're beneath an <a>
Closes spring-projectsgh-3583
1 parent fbfbec1 commit 6d36605

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-boot-docs/src/main/docbook/css/manual.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ body {
1616
code {
1717
font-size: 16px;
1818
font-family: Consolas, "Liberation Mono", Courier, monospace;
19+
}
20+
21+
:not(a)>code {
1922
color: #6D180B;
2023
}
2124

0 commit comments

Comments
 (0)