summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-08 15:40:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-08 15:40:14 +0200
commit70aecc34cfbdc9dbb10439c4c92679c00f767e2d (patch)
tree16f4e1d75b986eb2faba9ccbb0742b8cb17470bb /app
parent2fde90a2c23c7bdb7daffd9b15e3b416fb15d33f (diff)
downloadgitlab-ce-70aecc34cfbdc9dbb10439c4c92679c00f767e2d.tar.gz
Improve commit page style
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/pages/commit.scss5
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
2 files changed, 1 insertions, 6 deletions
diff --git a/app/assets/stylesheets/pages/commit.scss b/app/assets/stylesheets/pages/commit.scss
index 5436c6dad97..f9e9b024d47 100644
--- a/app/assets/stylesheets/pages/commit.scss
+++ b/app/assets/stylesheets/pages/commit.scss
@@ -47,11 +47,6 @@
}
.commit-box {
- margin: 10px 0;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
- padding: 20px 0;
-
.commit-title {
margin: 0;
}
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 3f645b81397..2ac79e87b4a 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -41,7 +41,7 @@
.commit-info-row.branches
%i.fa.fa-spinner.fa-spin
-.commit-box
+.commit-box.gray-content-block.middle-block
%h3.commit-title
= gfm escape_once(@commit.title)
- if @commit.description.present?