Commit 92da3893 authored by Savas Vedova's avatar Savas Vedova

Merge branch '338790-fix-extra-empty-spacing' into 'master'

Remove extra space above empty messages on vulnerability report table

See merge request gitlab-org/gitlab!72929
parents a2a1006f 3a618ca1
...@@ -19,6 +19,7 @@ export default { ...@@ -19,6 +19,7 @@ export default {
<template> <template>
<gl-empty-state <gl-empty-state
class="gl-mt-0"
:title="$options.i18n.title" :title="$options.i18n.title"
:svg-path="emptyStateSvgPath" :svg-path="emptyStateSvgPath"
:primary-button-link="dashboardDocumentation" :primary-button-link="dashboardDocumentation"
......
...@@ -11,6 +11,7 @@ export default { ...@@ -11,6 +11,7 @@ export default {
<template> <template>
<gl-empty-state <gl-empty-state
class="gl-mt-0"
:title="s__('SecurityReports|Sorry, your filter produced no results')" :title="s__('SecurityReports|Sorry, your filter produced no results')"
:svg-path="noVulnerabilitiesSvgPath" :svg-path="noVulnerabilitiesSvgPath"
:description="s__(`SecurityReports|To widen your search, change or remove filters above`)" :description="s__(`SecurityReports|To widen your search, change or remove filters above`)"
......
// Jest Snapshot v1, https://goo.gl/fbAQLP // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`dashboard has no vulnerabilities empty state matches snapshot 1`] = ` exports[`dashboard has no vulnerabilities empty state matches snapshot 1`] = `
"<section class=\\"row empty-state text-center\\"> "<section class=\\"row gl-mt-0 empty-state text-center\\">
<div class=\\"col-12\\"> <div class=\\"col-12\\">
<div class=\\"svg-250 svg-content\\"><img src=\\"/placeholder.svg\\" alt=\\"\\" role=\\"img\\" class=\\"gl-max-w-full\\"></div> <div class=\\"svg-250 svg-content\\"><img src=\\"/placeholder.svg\\" alt=\\"\\" role=\\"img\\" class=\\"gl-max-w-full\\"></div>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment