mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
bugfix: full width images in card body
This commit is contained in:
parent
97ac38e3bb
commit
a1b7287c98
2 changed files with 4 additions and 1 deletions
|
@ -109,6 +109,9 @@ const postUrl = `/post/${post.slug}/`;
|
|||
.e-content > :global(* + *) {
|
||||
margin-block-start: 1em;
|
||||
}
|
||||
.e-content :global(:where(img, picture, video)) {
|
||||
width: 100%;
|
||||
}
|
||||
footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
@ -4,4 +4,4 @@ pubDate: 2023-01-05
|
|||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Pellentesque habitant morbi tristique senectus et netus et.
|
||||
|
||||
![../../assets/mechanical-keyboard.png](Mechanical keyboard with LED backlighting)
|
||||
![Mechanical keyboard with LED backlighting](../../assets/mechanical-keyboard.png)
|
||||
|
|
Loading…
Reference in a new issue