Commit fce0f1c2 authored by Damyon Wiese's avatar Damyon Wiese
Browse files

MDL-56938 messages: Images and videos display badly in messaging

Make sure they get minimum and maximum width so they don't overflow and
don't appear tiny.
parent cd4a6b8b
......@@ -6,6 +6,10 @@
margin-top: 5px;
margin-bottom: 5px;
text-align: center;
/* Make videos as wide as possible without being wider than their containers */
width: 100vw;
max-width: 100%;
}
.mediaplugin > div {
......
......@@ -50,6 +50,10 @@
border: 1px solid #e3e3e3;
clear: both;
img {
max-width: 100%;
}
.contacts-area {
border-right: 1px solid #e3e3e3;
height: 600px;
......
......@@ -47,6 +47,10 @@
clear: both;
border-radius: 4px;
img {
max-width: 100%;
}
.contacts-area {
border-right: 1px solid #e3e3e3;
height: 600px;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
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