diff options
author | David Cho-Lerat <david.cho-lerat@sonarsource.com> | 2024-01-30 15:17:14 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-30 16:12:36 +0000 |
commit | e66362ba9f8310e5ac6e08cd9acff579b19a6ced (patch) | |
tree | cb50639485294d423d7c46a04b054827b65c965c /server | |
parent | aa685bd63b7364ce350168ef7e7b027afc0928bd (diff) | |
download | sonarqube-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.tsx | 4 |
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; + } `; |