Skip to content

Commit

Permalink
Change list style type for ordered list (#42)
Browse files Browse the repository at this point in the history
Resolves #9
  • Loading branch information
nawatts authored Feb 3, 2021
1 parent eb20a53 commit 6ed158a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/ui/src/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ export const ListItem = styled.li`
margin-bottom: 0.5em;
`

export const OrderedList = List.withComponent('ol')
export const OrderedList = styled.ol`
padding-left: 20px;
list-style-type: decimal;
margin-bottom: 1em;
`

0 comments on commit 6ed158a

Please sign in to comment.