summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/diff.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss22
1 files changed, 13 insertions, 9 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index 77d7a3024d5..183f22a1b24 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -67,17 +67,21 @@
line-height: $code_line_height;
font-size: $code_font_size;
- &.noteable_line.old {
- &:before {
- content: '-';
- position: absolute;
+ &.noteable_line {
+ position: relative;
+
+ &.old {
+ &:before {
+ content: '-';
+ position: absolute;
+ }
}
- }
- &.noteable_line.new {
- &:before {
- content: '+';
- position: absolute;
+ &.new {
+ &:before {
+ content: '+';
+ position: absolute;
+ }
}
}