]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12606 Fix issue multiline comments
authorJeremy Davis <jeremy.davis@sonarsource.com>
Tue, 5 Nov 2019 09:03:33 +0000 (18:03 +0900)
committerSonarTech <sonartech@sonarsource.com>
Fri, 8 Nov 2019 19:21:12 +0000 (20:21 +0100)
server/sonar-web/src/main/js/components/issue/Issue.css

index fa3824fa2df98cff0fb7c81339a354f5caa656d2..d46b2d7e948f84f29f3c602299098a044bc13715 100644 (file)
   word-break: break-all;
 }
 
+.issue-comment-text.markdown pre {
+  float: none;
+  height: auto;
+  margin: 0;
+  padding: var(--gridSize);
+  background-color: var(--codeBackground);
+  border: none;
+  border-radius: 3px;
+}
+
+.issue-comment-text.markdown br ~ pre {
+  margin-top: var(--gridSize);
+}
+
 .issue-comment-actions {
   flex-shrink: 0;
   padding-left: 5px;