horizontally scale images properly

This commit is contained in:
Matthew Hodgson 2016-02-18 18:59:45 +00:00
parent dbf3439e35
commit ffb1584e10
2 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@ limitations under the License.
*/ */
.mx_MImageBody_thumbnail { .mx_MImageBody_thumbnail {
max-width: 100%;
/* /*
background-color: #fff; background-color: #fff;
border: 2px solid #fff; border: 2px solid #fff;
@ -25,7 +26,6 @@ limitations under the License.
.mx_MImageBody_download { .mx_MImageBody_download {
color: #76cfa6; color: #76cfa6;
cursor: pointer; cursor: pointer;
margin-left: -16px;
} }
.mx_MImageBody_download a { .mx_MImageBody_download a {
@ -34,6 +34,7 @@ limitations under the License.
} }
.mx_MImageBody_download object { .mx_MImageBody_download object {
margin-left: -16px;
padding-right: 4px; padding-right: 4px;
margin-top: -4px; margin-top: -4px;
vertical-align: middle; vertical-align: middle;

View file

@ -51,11 +51,11 @@ limitations under the License.
.mx_EventTile_line { .mx_EventTile_line {
position: relative; position: relative;
margin-right: 100px;
} }
.mx_EventTile_content { .mx_EventTile_content {
display: block; display: block;
margin-right: 100px;
overflow-y: hidden; overflow-y: hidden;
} }