diff --git a/src/assets/css/bundle/post.css b/src/assets/css/bundle/post.css index 4fb9928..60fda56 100644 --- a/src/assets/css/bundle/post.css +++ b/src/assets/css/bundle/post.css @@ -10,7 +10,8 @@ font-size: var(--size-step-2); } -.post img { +/* make featured image alwyays 16/9 */ +.post h1 + :is(picture, figure) img { max-inline-size: var(--max-img-width, 100%); block-size: auto; aspect-ratio: 16/9;