Skip to content

Commit

Permalink
Fit the max-width of media in .prose to parent box (mastodon#24180)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmn authored Mar 20, 2023
1 parent 7bef116 commit 0a9def5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8249,11 +8249,13 @@ noscript {
img {
margin-top: 2em;
margin-bottom: 2em;
max-width: 100%;
}

video {
margin-top: 2em;
margin-bottom: 2em;
max-width: 100%;
}

figure {
Expand Down

0 comments on commit 0a9def5

Please sign in to comment.