List of code quality issues has unintended indentation

Summary

Original report: https://gitlab.com/gitlab-org/gitlab-ee/issues/13026#note_200971971

Code quality results are rendered with a seemingly random level of indentation per line: image

Steps to reproduce

I have not been able to reproduce this yet, I am unsure under what conditions it shows up

Example Project

I made this project and merge request that shows a long and realistic list of code quality issues for testing: https://gitlab.com/mfluharty/test-codequality/merge_requests/1

What is the current bug behavior?

Some code quality issues in the MR widget list have indentation

What is the expected correct behavior?

All code quality issues in the MR widget list should have no indentation - the ❌ and ✔ should all line up along the left side

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading