Fix main view scale and positioning

This commit is contained in:
Daniel 2020-04-17 16:27:07 +12:00
parent 06a03e4aa3
commit 4f694dd71a
1 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
img { img {
position: absolute; max-height: 100%;
top: 0; max-width: 100%;
vertical-align: middle; margin: auto;
height: 100%;
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
} }