aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-04-22 10:45:00 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-04-22 10:45:00 +0200
commitd4306901e4a6bec9d956f643f27b43cfdd6a3498 (patch)
tree3594e79cdd44c8100b57f59a45a9d0aa98255362
parent91584ca578a35442467d075ec42151b409778503 (diff)
downloadsonarqube-d4306901e4a6bec9d956f643f27b43cfdd6a3498.tar.gz
sonarqube-d4306901e4a6bec9d956f643f27b43cfdd6a3498.zip
SONAR-7561 Increase width of version select on Comparison page
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb
index 67618e7b4cb..da6e94ccba4 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb
@@ -117,7 +117,10 @@
+ $j('#sids').val(),
success:function (data) {
$j('#new_version').html(data);
- $j('#new_version').select2({placeholder:'<%= message('comparison.select_version') -%>'});
+ $j('#new_version').select2({
+ width: '250px',
+ placeholder:'<%= message('comparison.select_version') -%>'
+ });
$j('#version_loading').hide();
$j('#version_div').show();
$j('#version_div').css("display", "inline-block");