Commit a017fe6e authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '55206-discussion-text-alignment' into 'master'

Correctly align resolved discussion text

Closes #55206

See merge request gitlab-org/gitlab-ce!25001
parents d3882f4c a14c9be1
...@@ -363,6 +363,7 @@ Please check your network connection and try again.`; ...@@ -363,6 +363,7 @@ Please check your network connection and try again.`;
:img-size="40" :img-size="40"
/> />
</div> </div>
<div class="timeline-content">
<note-header <note-header
:author="author" :author="author"
:created-at="initialDiscussion.created_at" :created-at="initialDiscussion.created_at"
...@@ -388,6 +389,7 @@ Please check your network connection and try again.`; ...@@ -388,6 +389,7 @@ Please check your network connection and try again.`;
class-name="discussion-headline-light js-discussion-headline" class-name="discussion-headline-light js-discussion-headline"
/> />
</div> </div>
</div>
<div v-if="shouldShowDiscussions" class="discussion-body"> <div v-if="shouldShowDiscussions" class="discussion-body">
<component <component
:is="wrapperComponent" :is="wrapperComponent"
......
...@@ -550,6 +550,11 @@ $note-form-margin-left: 72px; ...@@ -550,6 +550,11 @@ $note-form-margin-left: 72px;
.note-header-info { .note-header-info {
padding-bottom: 0; padding-bottom: 0;
} }
.timeline-content {
overflow-x: auto;
overflow-y: hidden;
}
} }
.unresolved { .unresolved {
...@@ -597,7 +602,6 @@ $note-form-margin-left: 72px; ...@@ -597,7 +602,6 @@ $note-form-margin-left: 72px;
.note-headline-meta { .note-headline-meta {
display: inline-block; display: inline-block;
white-space: nowrap;
.system-note-message { .system-note-message {
white-space: normal; white-space: normal;
...@@ -607,6 +611,10 @@ $note-form-margin-left: 72px; ...@@ -607,6 +611,10 @@ $note-form-margin-left: 72px;
color: $gl-text-color-disabled; color: $gl-text-color-disabled;
} }
.note-timestamp {
white-space: nowrap;
}
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment