diff --git a/frontend.html b/frontend.html index a20fa10..2041f22 100644 --- a/frontend.html +++ b/frontend.html @@ -17,15 +17,13 @@ #img { max-width: 100%; max-height: 100%; - width: auto; - height: auto; - display: block; + width: 100%; + height: 100% cursor: pointer; - margin-left: auto; - margin-right: auto; background-image: url($img_url); - background-size: cover; /* Important for proper scaling */ + background-size: contain; /* Important for proper scaling */ background-position: center; + background-repeat: no-repeat; } .chevron { position: absolute;