提交 068e5e21 编写于 作者: E Eric Eastwood

Fix note header author and time ago wrapping in parallel diff

Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32801
上级 34a6d80e
......@@ -380,6 +380,12 @@ ul.notes {
padding-bottom: 5px;
}
.note-header-author-name {
@media (max-width: $screen-xs-max) {
display: none;
}
}
.note-headline-light {
display: inline;
......@@ -717,9 +723,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 {
......
......@@ -18,7 +18,7 @@
.note-header
.note-header-info
%a{ href: user_path(note.author) }
%span.hidden-xs
%span.note-header-author-name
= sanitize(note.author.name)
%span.note-headline-light
= note.author.to_reference
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册