Skip to content

Commit 6541335

Browse files
committed
feat: add shadow and border to post-card images
1 parent 4d505b5 commit 6541335

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/common/PostCardBlog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const PostCardBlog = ({ post, number }) => {
1414
<img
1515
src={post.feature_image || post.og_image || "/images/blog_placeholder_image.png"}
1616
className={
17-
"aspect-video w-full rounded object-cover max-w-xl"
17+
"aspect-video w-full rounded object-cover max-w-xl shadow-xl border"
1818
}
1919
alt=""
2020
/>

src/templates/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const Post = ({ data, location }) => {
8989
</div>
9090
</div>
9191
<article
92-
className="mt-16 mx-auto prose md:prose-xl prose-img:rounded-xl prose-img:shadow-xl hover:prose-headings:underline underline-offset-4 hover:prose-a:text-iff-orange px-4 select-none"
92+
className="mt-16 mx-auto prose md:prose-xl prose-img:rounded-xl prose-img:shadow-xl prose-img:border hover:prose-headings:underline underline-offset-4 hover:prose-a:text-iff-orange px-4 select-none"
9393
dangerouslySetInnerHTML={{ __html: post.html }}
9494
></article>
9595
</div>

0 commit comments

Comments
 (0)