make image event bodies display as blocks to avoid auto sizing, so we can measure their width to explicitly set their height

This commit is contained in:
Matthew Hodgson 2016-03-24 00:12:54 +00:00
parent 95a46ae201
commit 9e95d2e4ac
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_MImageBody {
display: block;
}
.mx_MImageBody_thumbnail { .mx_MImageBody_thumbnail {
max-width: 100%; max-width: 100%;
/* /*