summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-17 17:59:58 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-17 18:11:42 +0100
commit5ae95b1880f99bf0414dccacc51b624c00d6b305 (patch)
tree29bcdbc283d72b8861fbc32d9093d606e304c08f
parent9392e1375cdd65fe4a0a53ee12691aed94e25138 (diff)
downloadgitlab-ce-improve-diff-ui.tar.gz
Add space to separate different files in diffimprove-diff-ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/pages/diff.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index db06b8288c2..d5862a11aca 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -1,7 +1,7 @@
// Common
.diff-file {
border: 1px solid $border-color;
- border-top: none;
+ margin-bottom: $gl-padding;
.diff-header {
position: relative;
@@ -361,3 +361,11 @@
border-color: $border;
}
}
+
+.files {
+ margin-top: -1px;
+
+ .diff-file:last-child {
+ margin-bottom: 0;
+ }
+}