aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/components/rules/RuleDescription.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx b/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx
index 3bfb8a439af..47bbe762219 100644
--- a/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx
+++ b/server/sonar-web/src/main/js/components/rules/RuleDescription.tsx
@@ -226,4 +226,8 @@ const StyledHtmlFormatter = styled(HtmlFormatter)`
.code-difference-scrollable .code-removed {
background-color: ${themeColor('codeLineUncoveredUnderline')};
}
+
+ a:has(code) {
+ padding-bottom: 0.125rem;
+ }
`;