Skip to content

Commit

Permalink
fixed bg color for rounded image
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergGamerdingerEKUT committed Apr 26, 2024
1 parent 280e380 commit 1a58881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/widgets/Content.astro
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ const {
<Fragment set:html={image} />
) : (
<Image
class="mx-auto w-full rounded-lg bg-gray-500 shadow-lg"
class="mx-auto w-full rounded-lg bg-gray-500 dark:bg-neutral-900 shadow-lg"
width={800}
height={800}
widths={[400, 768]}
widths={[400, 768, 1000]}
sizes="(max-width: 768px) 100vw, 432px"
layout="responsive"
{...(image as any)}
Expand Down

0 comments on commit 1a58881

Please sign in to comment.