aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-01-30 15:17:14 +0100
committersonartech <sonartech@sonarsource.com>2024-01-30 16:12:36 +0000
commite66362ba9f8310e5ac6e08cd9acff579b19a6ced (patch)
treecb50639485294d423d7c46a04b054827b65c965c /server
parentaa685bd63b7364ce350168ef7e7b027afc0928bd (diff)
downloadsonarqube-e66362ba9f8310e5ac6e08cd9acff579b19a6ced.tar.gz
sonarqube-e66362ba9f8310e5ac6e08cd9acff579b19a6ced.zip
SONAR-21516 Fix the appearance of links for code sections in rules details
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;
+ }
`;