Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 78f0614

Browse files
committed
fix text overlap on post selector
1 parent 1dc257d commit 78f0614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PostSelector.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const PostSelector = ({ posts }: PostSelectorProps) => {
6161
<List>
6262
{posts.map((post, index) => (
6363
<ListItem key={post.objectID} divider={posts.length > index + 1}>
64-
<ListItemText primary={post.title} />
64+
<ListItemText primary={post.title} style={{ maxWidth: '75%' }} />
6565
<ListItemSecondaryAction>
6666
<NextLink
6767
href="/posts/[id]"

0 commit comments

Comments
 (0)