diff options
author | Nur Rony <pro.nmrony@gmail.com> | 2017-02-23 17:14:56 +0600 |
---|---|---|
committer | Nur Rony <pro.nmrony@gmail.com> | 2017-02-27 14:24:13 +0600 |
commit | be95e433a59551ba86f46f1f1440a8b5c6223d44 (patch) | |
tree | 701c2d2b2fb0d38fa3262fe982e941f09b6e6cd1 /app/assets/stylesheets | |
parent | b49a655d053525e11a39fe31b47fbbf2b7ea73da (diff) | |
download | gitlab-ce-be95e433a59551ba86f46f1f1440a8b5c6223d44.tar.gz |
adds note actions in new line for xs screen
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index cb0a1e5129c..f57e3f7d7cf 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -575,18 +575,36 @@ ul.notes { // Merge request notes in diffs .diff-file { - // Diff is side by side - .notes_content.parallel .note-header .note-headline-light { - display: block; - position: relative; - } - // Diff is inline - .notes_content .note-header .note-headline-light { - display: inline-block; - position: relative; - @media (max-width: $screen-md-min) { + .note-header { + display: flex; + + @media (max-width: $screen-xs-max) { display: block; } + + .note-actions { + position: relative; + + @media (max-width: $screen-xs-max) { + margin: 5px 0 0; + right: inherit; + } + } + + .note-messages { + flex: 1; + + @media (max-width: $screen-xs-max) { + flex-basis: 100%; + } + } } + + .note-body { + @media (max-width: $screen-xs-max) { + clear: both; + } + } + } |