From 9bcf2931cebe8d851a126a3d983e92fc5f279e64 Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Sun, 12 Apr 2026 11:13:44 +0000 Subject: [PATCH] Tweaking styls --- frontend.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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;