From 2a53a02660376aa46f492eee622909445253a736 Mon Sep 17 00:00:00 2001 From: waifu Date: Sat, 27 Apr 2024 17:27:50 -0300 Subject: [PATCH] res fix --- home/friends/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/friends/style.css b/home/friends/style.css index f5f9f08..77d6782 100644 --- a/home/friends/style.css +++ b/home/friends/style.css @@ -1,20 +1,21 @@ body { background-color: black; color: white; + width: 100%; } .grid-container { display: grid; grid-template-columns: repeat(8, 1fr); /* Create 8 columns of equal width */ gap: 10px; /* Adjust the gap between grid items */ - width: 100vw; /* Set the width to 100% of the viewport width */ + width: 100%; /* Set the width to 100% of the viewport width */ overflow: hidden; } .friend img { transition: transform 0.3s ease; - max-width: 150%; + max-width: 100%; height: auto; margin: 0 auto;