Skip to content

Commit 1917fff

Browse files
author
gptkong
committed
Enhance styling for blog post content with additional prose classes
1 parent 81cad27 commit 1917fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/BlogPost.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const { title, description, pubDate, updatedDate, heroImage, tags } =
8181
}
8282
</header>
8383
<div
84-
class="prose-headings:font-bold prose-headings:text-gray-800 prose-p:text-gray-600 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline"
84+
class="prose-headings:font-bold prose-headings:text-gray-800 prose-p:text-gray-600 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-table:w-full prose-table:border prose-table:border-gray-200 prose-th:bg-gray-100 prose-th:p-2 prose-th:border prose-th:border-gray-200 prose-td:p-2 prose-td:border prose-td:border-gray-200 prose-tr:even:bg-gray-50 prose-tr:hover:bg-blue-50"
8585
>
8686
<slot />
8787
</div>

0 commit comments

Comments
 (0)