about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormogamin <5103195+mgmn@users.noreply.github.com>2023-03-21 04:04:25 +0900
committerGitHub <noreply@github.com>2023-03-20 20:04:25 +0100
commit0a9def5498d9630bb9ebf1585f76b2af5fad5169 (patch)
treea5af984462f09d9204bb643f66036a92627eb95f /app
parent7bef11630d6decac46bc006bf12e7d962dffa57e (diff)
Fit the max-width of media in .prose to parent box (#24180)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/mastodon/components.scss2
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 {