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
v-if="hasMergeCommitsCsvExportPath"
:merge-commits-csv-export-path="mergeCommitsCsvExportPath"
/>
</div>
<p class="gl-mt-5" data-testid="subheading"> <p class="gl-mt-5" data-testid="subheading">
{{ $options.i18n.subheading }} {{ $options.i18n.subheading }}
<gl-link :href="$options.documentationPath" target="_blank">{{ <gl-link :href="$options.documentationPath" target="_blank">{{
$options.i18n.learnMore $options.i18n.learnMore
}}</gl-link> }}</gl-link>
</p> </p>
</div>
<merge-commits-export-button
v-if="hasMergeCommitsCsvExportPath"
:merge-commits-csv-export-path="mergeCommitsCsvExportPath"
/>
</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