summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-20 17:53:37 +0100
committerPhil Hughes <me@iamphill.com>2016-07-20 17:53:37 +0100
commit1a596671b8bfe2ba3c389bea2a759cb696aac82f (patch)
tree6a16d68e3816110699d376d486a40bb14e4f7a07
parentba07fa0798e592fbf71f0e37f01db38b38c53903 (diff)
downloadgitlab-ce-1a596671b8bfe2ba3c389bea2a759cb696aac82f.tar.gz
Fixed padding on line content
-rw-r--r--app/assets/stylesheets/mailers/repository_push_email.scss10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/assets/stylesheets/mailers/repository_push_email.scss b/app/assets/stylesheets/mailers/repository_push_email.scss
index 847e4578baa..98dd6217aa9 100644
--- a/app/assets/stylesheets/mailers/repository_push_email.scss
+++ b/app/assets/stylesheets/mailers/repository_push_email.scss
@@ -11,6 +11,7 @@
// explicit child selectors.
.code {
+ background-color: #fff;
font-family: monospace;
font-size: $code_font_size;
-premailer-cellpadding: 0;
@@ -25,8 +26,8 @@
.diff-line-num {
padding: 0 5px;
text-align: right;
- max-width: 50px;
width: 35px;
+ background-color: $background-color;
color: $black-transparent;
border-right: 1px solid $table-border-gray;
@@ -42,8 +43,9 @@
}
.line_content {
+ padding-left: 0.5em;
+ padding-right: 0.5em;
white-space: pre;
- background-color: #fff;
&.old {
background-color: $line-removed;
@@ -69,10 +71,6 @@
}
}
-.diff-line-num {
- background-color: $background-color;
-}
-
span.highlight_word {
background-color: #fafe3d !important;
}