diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-04-14 09:10:36 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-04-14 12:33:29 -0500 |
commit | 80d8f8b87609ffb9b0fcc1f74fbeb4520a193e07 (patch) | |
tree | 31c0627cb7de55dedeb21268137525b9b6e380a2 /app/assets/stylesheets/pages/diff.scss | |
parent | 2f81baf4767df7ce0144a63b4e451b7d8e09f86a (diff) | |
download | gitlab-ce-80d8f8b87609ffb9b0fcc1f74fbeb4520a193e07.tar.gz |
Syntax & style updates14176-diff-paste-data
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r-- | app/assets/stylesheets/pages/diff.scss | 22 |
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; + } } } |