Skip to content

Commit

Permalink
fix: constrain <img> within rich preview (#20)
Browse files Browse the repository at this point in the history
* fix: constrain images within the excerpt

* also target <img>
  • Loading branch information
imorland authored Nov 26, 2024
1 parent c780474 commit ef75ce6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/less/forum/extension.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@
display: none;
}
}


.Synopsis-excerpt {
.FoFUpload--Upl-Image-Preview,
img {
max-height: 300px;
width: auto;
object-fit: contain;
}
}

0 comments on commit ef75ce6

Please sign in to comment.