.Trending-Container{ display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-column-gap: 7px; grid-row-gap:7px; } .TopPage-container{ overflow: hidden; border-radius: 8px; } .TopPage-image img{ width:150px; height:150px; object-fit: cover; }