Skip to content

Commit deb031c

Browse files
committed
style: add horizontal centering and box-shadow to the images in the posts.
1 parent faa65f6 commit deb031c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/Prose.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
/* 引用 */
1010
prose-blockquote:text-neutral-500 prose-blockquote:not-italic prose-blockquote:border-l-2 prose-blockquote:font-normal
1111
/* 列表 */
12-
prose-li:my-1"
12+
prose-li:my-1
13+
/* 图片 */
14+
prose-img:mx-auto prose-img:shadow-md"
1315
>
1416
<slot />
1517
</article>

0 commit comments

Comments
 (0)