Skip to content

Comment drafts in Merge Request Reviews (Batch Comments) are showing a lonely dot

Summary

Batch comments are showing a lonely dot that should only exist if there is something in front of it to separate from the content on its left.

Screen_Shot_2019-03-11_at_17.54.22

Steps to reproduce

Add a new batch comment. See that the dot is there but nothing is shown in front.

Example Project

Any in gitlab.com with MRs.

What is the current bug behavior?

  1. Go to an MR
  2. Start a review with a comment

Notice the dot is floating in front of the username.

What is the expected correct behavior?

The dot is only present when there is an element at both sides.

Possible fixes

Perhaps moving that separator effect to css using generated content (::before) will make this easier to manage.