diff --git a/static/homepage.css b/static/homepage.css index 9c8c42803809b2a2f09d8910a08ef2bf71847a63..0000b0888528531e7e2cde9032bb6fa21678bd5a 100644 --- a/static/homepage.css +++ b/static/homepage.css @@ -151,9 +151,9 @@ .homepage-content-img1{ top: 930px; /* transform: translateX(-73%); */ transform: translateX(0%); - /* width: 349.375px; */ width: auto; - /* height: 526.094px; */ height: auto; - /* max-width: 100%; Ensure it doesn’t overflow */ + width: 349.375px; + height: 526.094px; + max-width: 100%; Ensure it doesn’t overflow flex-shrink: 0; border-radius: 33.854px; background: url("https://static.igem.wiki/teams/5054/nitrogen-atom.svg"), 50% / cover no-repeat; @@ -163,9 +163,9 @@ .homepage-content-img2{ top: 1358px; /* transform: translateX(40%); */ transform: translateX(0%); - /* width: 459.74px; */ width: auto; - /* height: 236.979px; */ height: auto; - /* max-width: 100%; Ensure it doesn’t overflow */ + width: 459.74px; + height: 236.979px; + max-width: 100%; /* Ensure it doesn’t overflow */ flex-shrink: 0; border-radius: 33.854px; background: url("https://static.igem.wiki/teams/5054/nitrogen-bond.svg"), 50% no-repeat;