diff options
author | Fatih Acet <acetfatih@gmail.com> | 2018-11-14 23:56:10 +0000 |
---|---|---|
committer | GitLab Release Tools Bot <robert+release-tools@gitlab.com> | 2018-11-15 13:53:20 +0000 |
commit | 09f8ddad41587636cc5ce179586aa6049f3f8f4c (patch) | |
tree | 313f781fb2b475a09ffce3e2ada68f90e48e20ad | |
parent | 7c905c669ccb99a70f734bc13003646449007e42 (diff) | |
download | gitlab-ce-09f8ddad41587636cc5ce179586aa6049f3f8f4c.tar.gz |
Merge branch '53882-extra-container-diff-version' into 'master'
Fix version system note
Closes #53882
See merge request gitlab-org/gitlab-ce!23030
(cherry picked from commit d645df8220669b7ccb889349d412bf527d621fc4)
f25e6aa2 Fix version system note
d0f8e279 Remove box on diff tab system note
0c4170b8 Add back margin on discussion system notes
5e66292d Tweak vertical line to line up with system notes and comment avatars
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index e4f59778d1e..1f34537d856 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -272,7 +272,7 @@ $note-form-margin-left: 72px; } .system-note { - padding: 6px 20px; + padding: 6px 21px; margin: $gl-padding-24 0; background-color: transparent; @@ -407,6 +407,24 @@ $note-form-margin-left: 72px; } } +.tab-pane.notes { + .diff-file .notes .system-note { + margin: 0; + } +} + +.tab-pane.diffs { + .system-note { + padding: 0 $gl-padding; + margin-left: 20px; + } + + .notes > .note-discussion li.note.system-note { + border-bottom: 0; + padding: 0 $gl-padding; + } +} + .diff-file { .is-over { .add-diff-note { @@ -426,7 +444,7 @@ $note-form-margin-left: 72px; } .system-note { - margin: 0; + background-color: $white-light; padding: $gl-padding; } } @@ -485,6 +503,11 @@ $note-form-margin-left: 72px; .note-wrapper { @include outline-comment(); + + &.system-note { + border: 0; + margin-left: 20px; + } } .discussion-reply-holder { |