post-list <li> a11y improvements

This commit is contained in:
Max Leiter 2023-05-20 15:50:57 -07:00
parent 69ca511cc2
commit 504d2742f4

View file

@ -66,8 +66,7 @@ const ListItem = ({
} }
return ( return (
<FadeIn key={post.id}> <FadeIn key={post.id} as="li">
<li>
<Card style={{ overflowY: "scroll" }}> <Card style={{ overflowY: "scroll" }}>
<> <>
<div className={styles.title}> <div className={styles.title}>
@ -150,7 +149,6 @@ const ListItem = ({
)} )}
</ul> </ul>
</Card> </Card>
</li>
</FadeIn> </FadeIn>
) )
} }