about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authormogamin <5103195+mgmn@users.noreply.github.com>2023-03-21 04:04:25 +0900
committerClaire <claire.github-309c@sitedethib.com>2023-03-22 20:00:33 +0100
commitb4f60bc6de4ece3b2ff908d31a0c34ddbbfacf2c (patch)
treed165b5ba19e907a8e57b1abf5ab5cf408419e051 /app/javascript/flavours/glitch
parent5ac380c1226a8225a84835f6c70b7bdf00f99fb2 (diff)
[Glitch] Fit the max-width of media in .prose to parent box
Port 0a9def5498d9630bb9ebf1585f76b2af5fad5169 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/styles/components/privacy_policy.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/privacy_policy.scss b/app/javascript/flavours/glitch/styles/components/privacy_policy.scss
index c99e99131..93123075e 100644
--- a/app/javascript/flavours/glitch/styles/components/privacy_policy.scss
+++ b/app/javascript/flavours/glitch/styles/components/privacy_policy.scss
@@ -26,11 +26,13 @@
   img {
     margin-top: 2em;
     margin-bottom: 2em;
+    max-width: 100%;
   }
 
   video {
     margin-top: 2em;
     margin-bottom: 2em;
+    max-width: 100%;
   }
 
   figure {