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 b039cf8 commit 1a12394
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 @@ -6,12 +6,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 1a12394

Please sign in to comment.