Skip to content
Snippets Groups Projects
Commit 106bea7a authored by Nate Rosandich's avatar Nate Rosandich Committed by Jacques Erasmus
Browse files

Move export buttons next to each other

Changelog: fixed
 EE: true
parent 71ab4a2e
No related branches found
No related tags found
1 merge request!137461Put the export button next to each other
......@@ -126,11 +126,7 @@ export default {
:documentation-path="$options.documentationPath"
>
<template #actions>
<div align="right">
<merge-commits-export-button
v-if="showMergeCommitsExportButton"
:merge-commits-csv-export-path="mergeCommitsCsvExportPath"
/>
<div align="right" style="min-width: 410px">
<gl-button
v-if="showViolationsExportButton"
v-gl-tooltip.hover
......@@ -140,7 +136,7 @@ export default {
data-testid="violations-export"
data-track-action="click_export"
data-track-label="export_all_violations"
class="gl-mt-3"
class="gl-lg-mb-0"
:href="violationsCsvExportPath"
>
{{ $options.i18n.export }}
......@@ -158,6 +154,11 @@ export default {
>
{{ $options.i18n.export }}
</gl-button>
<merge-commits-export-button
v-if="showMergeCommitsExportButton"
:merge-commits-csv-export-path="mergeCommitsCsvExportPath"
class="gl-display-inline"
/>
</div>
</template>
</report-header>
......
......@@ -29,7 +29,7 @@ export default {
</script>
<template>
<header
class="gl-mt-5 gl-mb-6 gl-display-flex gl-flex-direction-column gl-md-flex-direction-row gl-justify-content-space-between"
class="gl-mt-5 gl-mb-6 gl-display-flex gl-flex-direction-column gl-lg-flex-direction-row gl-justify-content-space-between"
>
<div>
<h2 class="gl-flex-grow-1 gl-my-0" data-testid="heading">{{ heading }}</h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment