summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-05-25 16:24:04 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-05-25 16:24:04 +0000
commit41441445a07649ce451bfffc546aaca87934655e (patch)
tree43bf03ab52d49d829e81f371f10225c877ce886d /app/assets
parentd9835145f99ba9b9df414a136e393f4137eef59e (diff)
parent068e5e21b360e976c582bb751ce93ac6668b6bdf (diff)
downloadgitlab-ce-41441445a07649ce451bfffc546aaca87934655e.tar.gz
Merge branch '32801-fix-discussion-header-wrapping-in-parallel-diff' into 'master'
Fix note header author and time ago wrapping in parallel diff Closes #32801 See merge request !11702
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/pages/notes.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss
index 51918917329..a8a996c1035 100644
--- a/app/assets/stylesheets/pages/notes.scss
+++ b/app/assets/stylesheets/pages/notes.scss
@@ -385,6 +385,12 @@ ul.notes {
padding-bottom: 0;
}
+.note-header-author-name {
+ @media (max-width: $screen-xs-max) {
+ display: none;
+ }
+}
+
.note-headline-light {
display: inline;
@@ -733,9 +739,8 @@ ul.notes {
// Merge request notes in diffs
.diff-file {
// Diff is side by side
- .notes_content.parallel .note-header .note-headline-light {
+ .notes_content.parallel .note-header .note-header-author-name {
display: block;
- position: relative;
}
// Diff is inline
.notes_content .note-header .note-headline-light {