From d4306901e4a6bec9d956f643f27b43cfdd6a3498 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 22 Apr 2016 10:45:00 +0200 Subject: [PATCH] SONAR-7561 Increase width of version select on Comparison page --- .../main/webapp/WEB-INF/app/views/comparison/index.html.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"); -- 2.39.5