Skip to content

Commit 7643502

Browse files
Fix carousel image size
1 parent 69e8f02 commit 7643502

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

src/containers/gallery/gallery.css

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
.gallery-img {
2-
width: 100%;
3-
height: 75vh;
4-
}
5-
6-
@media screen and (max-width: 480px) {
7-
.gallery-img {
8-
width: 100%;
9-
height: 25vh !important;
10-
}
11-
}
12-
13-
@media screen and (max-width: 768px) {
14-
.gallery-img {
15-
width: 100%;
16-
height: 40vh;
17-
}
2+
width: auto;
3+
max-width: 90vw;
4+
height: auto;
5+
max-height: 90vh;
186
}

0 commit comments

Comments
 (0)