diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-02-07 18:15:36 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-02-07 18:15:46 +0600 |
commit | ce7c3081c479350bda185f1e3a7f4534a1a781e3 (patch) | |
tree | 9b2059ae7f71f8b9b206f1b7e2df4411af45dd4e | |
parent | f01cfd845d078e6b2df8b53c5d00866e16623e09 (diff) | |
download | sonarqube-ce7c3081c479350bda185f1e3a7f4534a1a781e3.tar.gz sonarqube-ce7c3081c479350bda185f1e3a7f4534a1a781e3.zip |
New Issues Page: fix missing right border when code is too long
4 files changed, 14 insertions, 7 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb index 28d8e098831..fc7587ab5d7 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb @@ -23,7 +23,7 @@ {{> detailInnerTemplate }} {{/unless}} - <div class="bordered source"> + <div class="source"> <table id="sources_{{key}}" class="sources2 code" cellpadding="0" cellspacing="0"> {{#sources source scm}} <tr class="row"> diff --git a/sonar-server/src/main/webapp/stylesheets/navigator.css b/sonar-server/src/main/webapp/stylesheets/navigator.css index a4390c55f7f..af16f9845be 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator.css @@ -265,8 +265,10 @@ background-color: #fff; } .navigator-details .source { - display: inline-block; - margin-right: 10px; + padding-right: 10px; +} +.navigator-details .source table { + border: 1px solid #DDD; } .navigator-details .scm .author { display: inline-block; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/base.css b/sonar-server/src/main/webapp/stylesheets/navigator/base.css index 327f0a7cd57..474e7b44ee0 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/base.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator/base.css @@ -265,8 +265,10 @@ background-color: #fff; } .navigator-details .source { - display: inline-block; - margin-right: 10px; + padding-right: 10px; +} +.navigator-details .source table { + border: 1px solid #DDD; } .navigator-details .scm .author { display: inline-block; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/base.less b/sonar-server/src/main/webapp/stylesheets/navigator/base.less index 633bc35a933..768d3696ce2 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/base.less +++ b/sonar-server/src/main/webapp/stylesheets/navigator/base.less @@ -318,8 +318,11 @@ } .source { - display: inline-block; - margin-right: 10px; + padding-right: 10px; + + table { + border: 1px solid #DDD; + } } .scm .author { |