Commit 5dda9410 authored by Scott Hampton's avatar Scott Hampton

Align help icon for code quality MR widget

Fix alignment for the help popover icon for the
code quality merge request widget.

This fix also fixes it for other widgets that use the
`report_section` component.

Changelog: fixed
parent b4a50142
......@@ -190,10 +190,14 @@ export default {
<status-icon :status="statusIconName" :size="24" class="align-self-center" />
<div class="media-body d-flex flex-align-self-center align-items-center">
<div data-testid="report-section-code-text" class="js-code-text code-text">
<div>
{{ headerText }}
<div class="gl-display-flex gl-align-items-center">
<p class="gl-line-height-normal gl-m-0">{{ headerText }}</p>
<slot :name="slotName"></slot>
<popover v-if="hasPopover" :options="popoverOptions" class="gl-ml-2" />
<popover
v-if="hasPopover"
:options="popoverOptions"
class="gl-ml-2 gl-display-inline-flex"
/>
</div>
<slot name="sub-heading"></slot>
</div>
......
---
title: Align help icon for code quality merge request widget
merge_request: 60330
author:
type: fixed
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