1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-24 03:08:36 +00:00

Fix project images scroll (#34971) (#34972)

This commit is contained in:
wxiaoguang
2025-07-07 00:30:43 +08:00
committed by GitHub
parent 14ca309c39
commit 68fcdb6122

View File

@@ -71,7 +71,7 @@
.card-attachment-images {
display: inline-block;
white-space: nowrap;
overflow: scroll;
overflow: auto;
cursor: default;
scroll-snap-type: x mandatory;
text-align: center;
@@ -85,6 +85,7 @@
scroll-snap-align: center;
margin-right: 2px;
aspect-ratio: 1;
object-fit: contain;
}
.card-attachment-images img:only-child {