Shift thumbnail dislay to use object-fit to preserve aspect-ratio
This commit is contained in:
parent
794c49c5db
commit
a7cd5fc49b
2 changed files with 1 additions and 6 deletions
|
@ -21,11 +21,7 @@ $timelineImageBorderRadius: 4px;
|
|||
}
|
||||
|
||||
.mx_MImageBody_thumbnail {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
object-fit: contain;
|
||||
border-radius: $timelineImageBorderRadius;
|
||||
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue