aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2019-11-01 18:06:10 +0900
committerSonarTech <sonartech@sonarsource.com>2019-11-07 11:45:16 +0100
commite2e0a119d5dfd936ff55449360910fd5963b01d0 (patch)
treea97528502c32c12d1797035490323e42c9e572ad /server/sonar-web
parentfbdba9e77ae6162ca628895002fb513ee7f093fd (diff)
downloadsonarqube-e2e0a119d5dfd936ff55449360910fd5963b01d0.tar.gz
sonarqube-e2e0a119d5dfd936ff55449360910fd5963b01d0.zip
SONAR-12600 Increase snippet size
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/utils.ts b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/utils.ts
index 9a5e7907b91..1d2843da6ba 100644
--- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/utils.ts
+++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/utils.ts
@@ -17,8 +17,8 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-const LINES_ABOVE = 2;
-const LINES_BELOW = 2;
+const LINES_ABOVE = 5;
+const LINES_BELOW = 5;
export const MERGE_DISTANCE = 4; // Merge if snippets are four lines away (separated by 3 lines) or fewer
export const LINES_BELOW_ISSUE = 9;
export const EXPAND_BY_LINES = 10;