Skip to content

Commit e81928e

Browse files
committed
fix images sizes under different responsive widths
1 parent 46293f4 commit e81928e

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

index.css

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ dialog {
111111
/* CLASSES */
112112

113113
.card {
114-
display: flex;
115-
height: 100%;
114+
display: block;
115+
height: auto;
116116
margin: 0;
117117
min-width: 0;
118118
}
@@ -252,28 +252,12 @@ dialog {
252252
height: auto;
253253
gap: 1.5rem;
254254
}
255-
256-
.card {
257-
max-height: 400px;
258-
}
259-
260-
.card img {
261-
height: 250px;
262-
}
263255
}
264256

265257
@media (max-width: 600px) {
266258
.cardsRow {
267259
gap: 1rem;
268260
}
269-
270-
.card {
271-
max-height: 350px;
272-
}
273-
274-
.card img {
275-
height: 200px;
276-
}
277261
}
278262

279263
.posts-grid {

0 commit comments

Comments
 (0)