Skip to content

Commit 68fcdb6

Browse files
authored
Fix project images scroll (#34971) (#34972)
1 parent 14ca309 commit 68fcdb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/css/features/projects.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
.card-attachment-images {
7272
display: inline-block;
7373
white-space: nowrap;
74-
overflow: scroll;
74+
overflow: auto;
7575
cursor: default;
7676
scroll-snap-type: x mandatory;
7777
text-align: center;
@@ -85,6 +85,7 @@
8585
scroll-snap-align: center;
8686
margin-right: 2px;
8787
aspect-ratio: 1;
88+
object-fit: contain;
8889
}
8990

9091
.card-attachment-images img:only-child {

0 commit comments

Comments
 (0)