added object-fit and position to assets
This commit is contained in:
parent
88d473d788
commit
b76f7e6c32
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
||||||
.asset-image, .asset-video {
|
.asset-image, .asset-video {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
|
object-position: center;
|
||||||
margin : 0;
|
margin : 0;
|
||||||
}
|
}
|
||||||
.asset-video {
|
.asset-video {
|
||||||
|
|
Loading…
Add table
Reference in a new issue