aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-02-07 18:15:36 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-02-07 18:15:46 +0600
commitce7c3081c479350bda185f1e3a7f4534a1a781e3 (patch)
tree9b2059ae7f71f8b9b206f1b7e2df4411af45dd4e
parentf01cfd845d078e6b2df8b53c5d00866e16623e09 (diff)
downloadsonarqube-ce7c3081c479350bda185f1e3a7f4534a1a781e3.tar.gz
sonarqube-ce7c3081c479350bda185f1e3a7f4534a1a781e3.zip
New Issues Page: fix missing right border when code is too long
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb2
-rw-r--r--sonar-server/src/main/webapp/stylesheets/navigator.css6
-rw-r--r--sonar-server/src/main/webapp/stylesheets/navigator/base.css6
-rw-r--r--sonar-server/src/main/webapp/stylesheets/navigator/base.less7
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 {