Skip to content

Commit

Permalink
fix(app): Regression in 466e3f2
Browse files Browse the repository at this point in the history
Fix for galleries in markdown pages. Nested images should be 100% width, and auto height, however this is not the case in a .gallery section.
  • Loading branch information
bnjmnrsh committed Oct 7, 2024
1 parent 973da50 commit 397266a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/structure.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

}

.markdown-content img {
.markdown-content img:not(.gallery img) {
display: block;
height: auto;
max-inline-size: 100%;
Expand Down

0 comments on commit 397266a

Please sign in to comment.