diff --git a/src/snek/static/base.css b/src/snek/static/base.css
index a21ad41..83ae235 100644
--- a/src/snek/static/base.css
+++ b/src/snek/static/base.css
@@ -163,7 +163,7 @@ hyphens: auto;
 
 .message-content {
 
-    img, video, iframe {
+    img, video, iframe, div {
         max-width: 100%; 
     }
 }
@@ -231,7 +231,7 @@ input[type="text"], .chat-input textarea {
 }
 
 .message.switch-user {
-  .text img {
+  .text img,iframe, video {
     max-width: 90%;
     border-radius: 20px;
   }