diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-04-12 01:46:51 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-04-13 13:45:37 -0500 |
commit | 0cb6370a2de01e76ab666ab253492a25b23d2687 (patch) | |
tree | 67c181b29c8351acff9d72be4e9682109b15fee3 /app/assets/stylesheets | |
parent | a62ae94d9c5940e87679b1ce8a0aee8b82b4d59e (diff) | |
download | gitlab-ce-0cb6370a2de01e76ab666ab253492a25b23d2687.tar.gz |
Fix note header timeago and action overlap30810-fix-note-header-info-and-action-overlap
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/30810
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index 94ea4c5c8c6..6d92a6c15ca 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -344,6 +344,15 @@ ul.notes { font-size: 14px; } +.note-header { + display: flex; + justify-content: space-between; +} + +.note-header-info { + min-width: 0; +} + .note-headline-light { display: inline; @@ -363,21 +372,27 @@ ul.notes { } } +.note-headline-meta { + display: inline-block; + white-space: nowrap; +} + /** * Actions for Discussions/Notes */ -.discussion-actions, -.note-actions { +.discussion-actions { float: right; margin-left: 10px; color: $gray-darkest; } .note-actions { - position: absolute; - right: 0; - top: 0; + flex-shrink: 0; + // For PhantomJS that does not support flex + float: right; + margin-left: 10px; + color: $gray-darkest; .note-action-button { margin-left: 8px; |