Skip to content

Commit

Permalink
Add additional spacer to realign accordion title and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Jul 16, 2024
1 parent 420ed9e commit 7a421b6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ui/src/components/config_section/ConfigSectionTitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ export const ConfigSectionTitle = ({ title, iconType }) => (
<EuiTitle size="s">
<span>
<EuiTextColor color="success">
<span>
{!!iconType && (
<EuiIcon className="eui-alignBaseline" type={iconType} size="m" />
)}
&nbsp;{title}
</span>
<EuiSpacer size="s" />
<span>
{!!iconType && (
<EuiIcon className="eui-alignBaseline" type={iconType} size="m" />
)}
&nbsp;{title}
</span>
<EuiSpacer size="s" />
</EuiTextColor>
</span>
Expand Down

0 comments on commit 7a421b6

Please sign in to comment.