mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
horizontally scale images properly
This commit is contained in:
parent
dbf3439e35
commit
ffb1584e10
@ -15,6 +15,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
.mx_MImageBody_thumbnail {
|
||||
max-width: 100%;
|
||||
/*
|
||||
background-color: #fff;
|
||||
border: 2px solid #fff;
|
||||
@ -25,7 +26,6 @@ limitations under the License.
|
||||
.mx_MImageBody_download {
|
||||
color: #76cfa6;
|
||||
cursor: pointer;
|
||||
margin-left: -16px;
|
||||
}
|
||||
|
||||
.mx_MImageBody_download a {
|
||||
@ -34,6 +34,7 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_MImageBody_download object {
|
||||
margin-left: -16px;
|
||||
padding-right: 4px;
|
||||
margin-top: -4px;
|
||||
vertical-align: middle;
|
||||
|
@ -51,11 +51,11 @@ limitations under the License.
|
||||
|
||||
.mx_EventTile_line {
|
||||
position: relative;
|
||||
margin-right: 100px;
|
||||
}
|
||||
|
||||
.mx_EventTile_content {
|
||||
display: block;
|
||||
margin-right: 100px;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user