From: Philippe Perrin Date: Mon, 24 Aug 2020 12:13:54 +0000 (+0200) Subject: SONAR-13786 Issue message is not displayed correctly when it is too long X-Git-Tag: 8.5.0.37579~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=49ee415f4a13e435f5d86a125666532b8fb029a9;p=sonarqube.git SONAR-13786 Issue message is not displayed correctly when it is too long --- diff --git a/server/sonar-web/src/main/js/app/styles/init/misc.css b/server/sonar-web/src/main/js/app/styles/init/misc.css index b987a065653..a5133b41d99 100644 --- a/server/sonar-web/src/main/js/app/styles/init/misc.css +++ b/server/sonar-web/src/main/js/app/styles/init/misc.css @@ -580,3 +580,7 @@ th.huge-spacer-right { border: 1px solid var(--leakSecondaryColor); padding: 4px 6px; } + +.break-word { + word-break: break-word; +} 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 cd2e2a3c600..970748031e9 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 @@ -38,7 +38,7 @@ export default function IssueMessage(props: IssueMessageProps) { const ruleEngine = engineName ? engineName : engine; return ( -
+
{message}