Skip to content

Commit

Permalink
fix issue with image sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiaita committed Jun 21, 2024
1 parent f35de5b commit 2eb561d
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions overrides/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
.tiles-container {
display: grid;
grid-template-columns: repeat(4,1fr);
gap: 60px;
gap: 10px;
/* padding: 20px; */
width:80%;
margin: 0 auto;
Expand All @@ -292,19 +292,16 @@
.tile {
display: block;
width: 100%;
/* height:100%; */
/* aspect-ratio: 1.6; */
overflow: hidden;
border-radius: 5px;
transition: transform 0.3s ease;

position: relative;
overflow: hidden;
}

.tile img {
width: 100%;
height:85%;
aspect-ratio: 1.8;
object-fit: cover;
width: 250px;
height: 144px;
border-radius: 10px;
border: 2px solid black;
}
Expand Down

0 comments on commit 2eb561d

Please sign in to comment.