Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Keep ratio on cover video backgrounds (#11886)
## Description This PR updates cover block to use object-fit cover instead of object-fit fill for the video background. This change will make sure the ratio of the video is always kept. The downside is that part of the video may be cropped to make sure it fills the background, and its ratio is kept. ## How has this been tested? Verify the cover block still works as before. Verify the ratio of the video is always kept (by resizing the window) in the frontend and it the editor. ## Screenshots After: ![nov-15-2018 00-02-22](https://user-images.githubusercontent.com/11271197/48521151-2e41a980-e86b-11e8-9744-43a60da65900.gif) Before: ![nov-15-2018 00-07-48](https://user-images.githubusercontent.com/11271197/48521160-34378a80-e86b-11e8-901f-19dd583d856e.gif)
- Loading branch information