diff options
author | Nur Rony <pro.nmrony@gmail.com> | 2017-02-24 18:29:40 +0600 |
---|---|---|
committer | Nur Rony <pro.nmrony@gmail.com> | 2017-02-27 14:24:13 +0600 |
commit | 4f0beb6e5ee753c072b73de09978245cb167d89e (patch) | |
tree | 40e6dca38e157da9becb85d1a005a35919c84f6b /app/assets/stylesheets/pages/notes.scss | |
parent | be95e433a59551ba86f46f1f1440a8b5c6223d44 (diff) | |
download | gitlab-ce-27666-fix-note-header-overlap.tar.gz |
fixes note header overlap for diff files27666-fix-note-header-overlap
Diffstat (limited to 'app/assets/stylesheets/pages/notes.scss')
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index f57e3f7d7cf..5ca81f1ca9b 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -3,9 +3,17 @@ */ @-webkit-keyframes targe3-note { - from { background: $note-targe3-outside; } - 50% { background: $note-targe3-inside; } - to { background: $note-targe3-outside; } + from { + background: $note-targe3-outside; + } + + 50% { + background: $note-targe3-inside; + } + + to { + background: $note-targe3-outside; + } } ul.notes { @@ -447,7 +455,6 @@ ul.notes { border-radius: $border-radius-base; } - /** * Line note button on the side of diffs */ @@ -574,7 +581,23 @@ ul.notes { } // Merge request notes in diffs + .diff-file { + .notes_content { + &.parallel { + @media (max-width: $screen-sm-max) { + .note-header { + display: inline-block; + } + + .note-actions { + float: left; + margin: 5px 0 0; + right: auto; + } + } + } + } .note-header { display: flex; @@ -587,8 +610,9 @@ ul.notes { position: relative; @media (max-width: $screen-xs-max) { + float: left; margin: 5px 0 0; - right: inherit; + right: auto; } } @@ -596,7 +620,7 @@ ul.notes { flex: 1; @media (max-width: $screen-xs-max) { - flex-basis: 100%; + width: 100%; } } } @@ -606,5 +630,4 @@ ul.notes { clear: both; } } - } |