Skip to content

Commit 1729e9c

Browse files
committed
Blog image max-width: 100%
1 parent e31635e commit 1729e9c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/layouts/BlogPost.astro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,10 @@ const { title, description, author, pubDate, updatedDate, heroImage } =
7777

7878
padding: 10px;
7979
}
80+
81+
:global(img) {
82+
max-width: 100%;
83+
width: auto;
84+
height: auto;
85+
}
8086
</style>

0 commit comments

Comments
 (0)