Fix alignment issue with scan summary
What does this MR do and why?
Related #418296 (closed)
This improves the layout of the Scan details items. When some scanners don't have downloadable reports, like when reports are expired, the alignment is off due to using css flexbox. This MR changes the approach to use CSS grid which allows for a more robust layout.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Prerequisites
- You need an EE license
- You need to have runners enabled (See $2408961 for setting up a runner)
- Import https://gitlab.com/gitlab-examples/security/security-reports
- Run a pipeline on master
Validate
- manually force the expiration of security report artifacts of the security-reports project with instructions here
Edited by Lorenz van Herwaarden