Fixed non-masked image looking weird in chrome.

This commit is contained in:
Henry Jameson 2018-09-03 22:18:59 +03:00
parent a6047e0ad5
commit 08b044c365
1 changed files with 4 additions and 0 deletions

View File

@ -248,6 +248,7 @@ nav {
justify-content: center;
flex: 0 0 auto;
z-index: -1;
.mask {
mask-repeat: no-repeat;
mask-position: center;
@ -260,7 +261,10 @@ nav {
left: 0;
right: 0;
}
img {
height: 100%;
object-fit: contain;
display: block;
flex: 0;
}