Skip to content

Commit a050f78

Browse files
committed
fix: make react-photo-album show thumbnails without stretching
1 parent d571568 commit a050f78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

styles/globals.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@ small, figcaption {
7272
font-size: 0.9em;
7373
color: rgba(255,255,255,0.5) !important;
7474
}
75+
76+
.react-photo-album--image {
77+
object-fit: cover;
78+
}

0 commit comments

Comments
 (0)