diff options
| author | Henry Jameson <me@hjkos.com> | 2018-09-03 22:18:59 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-09-03 22:18:59 +0300 |
| commit | 08b044c365527492b1f6d20f2f5a2acb125799b4 (patch) | |
| tree | 5e6dfd4cce1bded4100a1cd443586bdd111c1cee | |
| parent | a6047e0ad5820e08308d3c7d5f54c14ba57fca5e (diff) | |
Fixed non-masked image looking weird in chrome.
| -rw-r--r-- | src/App.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss index 6ae4a1bb..056a235e 100644 --- a/src/App.scss +++ b/src/App.scss @@ -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; } |
