diff --git a/src/components/BoemlyList/BoemlyList.tsx b/src/components/BoemlyList/BoemlyList.tsx index 0869e87..cd89054 100644 --- a/src/components/BoemlyList/BoemlyList.tsx +++ b/src/components/BoemlyList/BoemlyList.tsx @@ -1,6 +1,7 @@ import { Box, Center, + Flex, List, ListIcon, ListItem, @@ -37,28 +38,36 @@ export const BoemlyList: React.FC = ({ return ( {listItems.map(({ id, text }, index) => ( - - ( -
- {ordered ? ( - - {index + 1} - - ) : ( - icon - )} -
- )} - /> + + + {/* Insert a zero-width character so that `align-items: baseline` + aligns the icon to the first line of the text */} + + ‌ + + + ( +
+ {ordered ? ( + + {index + 1} + + ) : ( + icon + )} +
+ )} + /> +
{text}