Skip to content

Add top margin for auto fix card on vulnerability report

Daniel Tian requested to merge 362201-add-top-margin-for-auto-fix-card into master

This MR adds a top margin for the auto fix card on the vulnerability report, so that it doesn't butt up either against the warning above it, or the dividing line above it:

With warning

Before After
ksnip_20220511-220555 ksnip_20220511-220653

Without warning

Before After
ksnip_20220511-220741 ksnip_20220511-220751

How to verify

The warning and cards are hidden forever once they're dismissed. The easiest way to get them to show again is to create a new user and set it as an auditor:

ksnip_20220511-211850

Then log in as the user and go to any vulnerability report. The warning and cards should show.

Related to #362201 (closed)

Edited by Daniel Tian

Merge request reports