Skip to content

Commit

Permalink
Merge pull request #81 from Blazity/images
Browse files Browse the repository at this point in the history
fix: image breakpoint tweak
  • Loading branch information
Max-Mogilski committed Oct 31, 2023
2 parents 151b165 + 31e1b3b commit d623af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ArticleCard/ArticleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function ArticleCard({
alt={imageAlt ?? "lack of description"}
width={780}
height={264}
sizes="(max-width: 640px) 82px, 320px, 480px, (max-width: 1024px) 82px ,480px, 780px"
sizes="(max-width: 220px) 82px, 480px, (max-width: 640px) 480px, 780px, (max-width: 1024px) 780px, 1020px"
className={cn(
"h-[82px] min-h-[82px] w-full rounded-xl object-cover text-center brightness-90 md:h-[264px] md:min-h-[264px] md:rounded-none",
isMain && "h-[264px] min-h-[264px] rounded-none"
Expand Down

0 comments on commit d623af5

Please sign in to comment.