fuzzyworld-tools / commit
Apps index: scale whole screenshot into the thumbnail instead of cropping
server/site/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/site/style.css b/server/site/style.css index c3ddf21..cb08d1e 100644 --- a/server/site/style.css +++ b/server/site/style.css @@ -78,6 +78,6 @@ pre.ci-log { max-height: 40rem; overflow: auto; white-space: pre-wrap; overflow- } /* Screenshots: thumbnails on the apps index, a row on a repo's summary page. */ ul.repos li.has-shot { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.75rem; align-items: start; } -ul.repos .thumb img { display: block; width: 4.5rem; height: 6rem; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 6px; } +ul.repos .thumb img { display: block; width: 4.5rem; height: 6rem; object-fit: contain; object-position: left top; border: 1px solid var(--line); border-radius: 6px; } .shots { display: flex; gap: 0.75rem; overflow-x: auto; } .shots img { display: block; height: 16rem; width: auto; border: 1px solid var(--line); border-radius: 6px; }