forked from AkkomaGang/akkoma-fe
Fixed non-masked image looking weird in chrome.
This commit is contained in:
parent
a6047e0ad5
commit
08b044c365
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue