Remove extra space above empty messages on vulnerability report table
What does this MR do and why?
On the vulnerability report, we show 2 types of empty messages in the vulnerability list:
-
When the project has no vulnerabilities
-
When the project has vulnerabilities, but the filters returned no results
These messages use the GlEmptyState
component. There is a class that adds a top margin that looks correct when the component is shown by itself on a page, but causes the spacing to be off when it's shown inside a table:
This MR fixes the spacing so that the space above and below the message are the same.
Before | After |
---|---|
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.
Edited by Daniel Tian