Commit bf58f021 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '347411-improve-compliance-report-header-layout' into 'master'

Improve compliance report header layout

See merge request gitlab-org/gitlab!78901
parents 0af043c8 1343b698
...@@ -156,20 +156,22 @@ export default { ...@@ -156,20 +156,22 @@ export default {
<gl-alert v-if="queryError" variant="danger" class="gl-mt-3" :dismissible="false"> <gl-alert v-if="queryError" variant="danger" class="gl-mt-3" :dismissible="false">
{{ $options.i18n.queryError }} {{ $options.i18n.queryError }}
</gl-alert> </gl-alert>
<header class="gl-mb-6"> <header
<div class="gl-mt-5 d-flex"> class="gl-mt-5 gl-mb-6 gl-display-flex gl-sm-flex-direction-column gl-justify-content-space-between"
>
<div>
<h2 class="gl-flex-grow-1 gl-my-0">{{ $options.i18n.heading }}</h2> <h2 class="gl-flex-grow-1 gl-my-0">{{ $options.i18n.heading }}</h2>
<merge-commits-export-button <p class="gl-mt-5" data-testid="subheading">
v-if="hasMergeCommitsCsvExportPath" {{ $options.i18n.subheading }}
:merge-commits-csv-export-path="mergeCommitsCsvExportPath" <gl-link :href="$options.documentationPath" target="_blank">{{
/> $options.i18n.learnMore
}}</gl-link>
</p>
</div> </div>
<p class="gl-mt-5" data-testid="subheading"> <merge-commits-export-button
{{ $options.i18n.subheading }} v-if="hasMergeCommitsCsvExportPath"
<gl-link :href="$options.documentationPath" target="_blank">{{ :merge-commits-csv-export-path="mergeCommitsCsvExportPath"
$options.i18n.learnMore />
}}</gl-link>
</p>
</header> </header>
<violation-filter <violation-filter
:group-path="groupPath" :group-path="groupPath"
......
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