Fix text alignment in vulnerability timeline
What does this MR do and why?
Fixes the note header and note body text not being aligned in the vulnerability details timeline and vulnerability modal.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- You'll need an EE License
- You'll need to have runners enabled (See $2408961 for setting up a runner)
Steps:
Vulnerability details timeline
- Open the vulnerability report page on a repository with vulnerabilities and click on a specific one
- Create a timeline by changing the status of the vulnerability
- Add a comment to such a status update in the timeline
- Validate that the note header and note body of the comment are aligned
Vulnerability modal
- Import https://gitlab.com/gitlab-examples/security/security-reports
- Create a new MR by modifying a file
- Toggle security reports
- Find a finding, click on it and dismiss with adding a comment
- Open the same finding and validate that note header "Administrator" is aligned with note body "Dismissed..." / the comment you added to dismiss
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Closes #367719 (closed)
Edited by Lorenz van Herwaarden