Skip to content

Commit

Permalink
updating list style
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Nov 18, 2020
1 parent 9ed6cf6 commit 37f041d
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,13 @@ const RepairItem: FC<{ id: string; title: JSX.Element; items: string[] }> = ({
}) => (
<EuiAccordion id={id} buttonContent={title} paddingSize="l">
<EuiText size="s">
{items.map((item) => (
<div key={item}>{item}</div>
))}
{items.length && (
<ul>
{items.map((item) => (
<li key={item}>{item}</li>
))}
</ul>
)}
</EuiText>
</EuiAccordion>
);

0 comments on commit 37f041d

Please sign in to comment.