diff options
author | mogamin <5103195+mgmn@users.noreply.github.com> | 2023-03-21 04:04:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 20:04:25 +0100 |
commit | 0a9def5498d9630bb9ebf1585f76b2af5fad5169 (patch) | |
tree | a5af984462f09d9204bb643f66036a92627eb95f /app/javascript | |
parent | 7bef11630d6decac46bc006bf12e7d962dffa57e (diff) |
Fit the max-width of media in .prose to parent box (#24180)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index ecec71804..9f6958b37 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -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 { |