diff --git a/web_src/css/features/projects.css b/web_src/css/features/projects.css index 5e2ec885a0..bfa70090b7 100644 --- a/web_src/css/features/projects.css +++ b/web_src/css/features/projects.css @@ -79,7 +79,9 @@ .card-attachment-images { display: inline-block; white-space: nowrap; - overflow: hidden; + overflow: scroll; + cursor: default; + scroll-snap-type: x mandatory; text-align: center; } @@ -87,7 +89,10 @@ display: inline-block; max-height: 50px; border-radius: var(--border-radius); + text-align: left; + scroll-snap-align: center; margin-right: 2px; + aspect-ratio: 1; } .card-attachment-images img:only-child { diff --git a/web_src/css/repo/issue-card.css b/web_src/css/repo/issue-card.css index b9368df4f6..703a4eaa6b 100644 --- a/web_src/css/repo/issue-card.css +++ b/web_src/css/repo/issue-card.css @@ -1,7 +1,7 @@ .issue-card { display: flex; flex-direction: column; - align-items: start; + align-items: stretch; border-radius: var(--border-radius); padding: 8px 10px; border: 1px solid var(--color-secondary);