From: Jeremy Davis Date: Thu, 7 Nov 2019 11:02:10 +0000 (+0900) Subject: SONAR-12537 Update See rule button in issues page X-Git-Tag: 8.1.0.31237~92 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=615f9bf88a4a1e0fed0818fb8ff01848865ae99a;p=sonarqube.git SONAR-12537 Update See rule button in issues page --- diff --git a/server/sonar-web/src/main/js/components/issue/Issue.css b/server/sonar-web/src/main/js/components/issue/Issue.css index d46b2d7e948..88cd8b45282 100644 --- a/server/sonar-web/src/main/js/components/issue/Issue.css +++ b/server/sonar-web/src/main/js/components/issue/Issue.css @@ -97,6 +97,11 @@ white-space: nowrap; } +.issue-see-rule { + border-bottom: none; + line-height: 16px; +} + .issue-changelog { width: 450px; max-height: 320px; diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx index dba797fae45..22c91a6c916 100644 --- a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx +++ b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx @@ -43,13 +43,14 @@ export default class IssueMessage extends React.PureComponent { render() { return (
- {this.props.message} + {this.props.message} + {this.props.engine && ( diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap index 74d242cefac..38370231ce0 100644 --- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap @@ -5,13 +5,13 @@ exports[`should render with the message and a link to open the rule 1`] = ` className="issue-message" > Reduce the number of conditional operators (4) used in the expression