Skip to content

Commit

Permalink
Fix cover hover
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyerh committed Nov 25, 2024
1 parent 9d8584d commit 5950ae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function CoverLink(props: CoverLinkProps) {
const { priority, volume } = props;

return (
<Link className="cover-link" href={`/volumes/${volume.id}`}>
<Link className="cover-link content-auto" href={`/volumes/${volume.id}`}>
<Cover
authors={volume.authors}
className="cover-link__cover mb-2"
Expand Down Expand Up @@ -40,7 +40,7 @@ const Page = async () => {
</h1>
<ul className="grid-cols-volumes grid gap-8">
{volumes.map((volume: Volume, index) => (
<li key={volume.id} className="pb-4 content-auto">
<li key={volume.id} className="pb-4">
<CoverLink priority={index < 10} volume={volume} />
</li>
))}
Expand Down

0 comments on commit 5950ae5

Please sign in to comment.