[Reporting] Do not stretch report delete button (#171862)

## Summary

Closes https://github.com/elastic/kibana/issues/171853

Now there is no extra spacing around the button:

<img width="1469" alt="image"
src="c7cfe3fc-ed30-49ee-a9ce-e1234facb187">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Vadim Kibana 2023-11-28 10:21:37 +01:00 committed by GitHub
parent df5383edf2
commit fcdd44ffeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,12 +397,12 @@ export class ReportListingTable extends Component<ListingPropsInternal, State> {
return (
<Fragment>
{this.state.selectedJobs.length > 0 && (
<Fragment>
<div>
<EuiFlexGroup alignItems="center" justifyContent="flexStart" gutterSize="m">
<EuiFlexItem grow={false}>{this.renderDeleteButton()}</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer size="l" />
</Fragment>
</div>
)}
<EuiBasicTable
tableCaption={i18n.translate('xpack.reporting.listing.table.captionDescription', {