Commit 713e24e0 authored by JC Brand's avatar JC Brand

Don't let images go over the available width

parent 8abe6867
...@@ -1571,7 +1571,8 @@ ...@@ -1571,7 +1571,8 @@
margin-top: 1em; } margin-top: 1em; }
#converse-embedded-chat .chatbox .chat-body .chat-image, #converse-embedded-chat .chatbox .chat-body .chat-image,
#conversejs .chatbox .chat-body .chat-image { #conversejs .chatbox .chat-body .chat-image {
max-height: 24em; } max-height: 24em;
max-width: 100%; }
#converse-embedded-chat .chatbox .chat-body .chat-action, #converse-embedded-chat .chatbox .chat-body .chat-action,
#conversejs .chatbox .chat-body .chat-action { #conversejs .chatbox .chat-body .chat-action {
font-style: italic; } font-style: italic; }
......
...@@ -1617,7 +1617,8 @@ body { ...@@ -1617,7 +1617,8 @@ body {
margin-top: 1em; } margin-top: 1em; }
#converse-embedded-chat .chatbox .chat-body .chat-image, #converse-embedded-chat .chatbox .chat-body .chat-image,
#conversejs .chatbox .chat-body .chat-image { #conversejs .chatbox .chat-body .chat-image {
max-height: 24em; } max-height: 24em;
max-width: 100%; }
#converse-embedded-chat .chatbox .chat-body .chat-action, #converse-embedded-chat .chatbox .chat-body .chat-action,
#conversejs .chatbox .chat-body .chat-action { #conversejs .chatbox .chat-body .chat-action {
font-style: italic; } font-style: italic; }
......
...@@ -150,6 +150,7 @@ ...@@ -150,6 +150,7 @@
} }
.chat-image { .chat-image {
max-height: 24em; max-height: 24em;
max-width: 100%;
} }
.chat-action { .chat-action {
font-style: italic; font-style: italic;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment