summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-02-20 18:13:24 +0000
committerPaul Buetow <paul@buetow.org>2022-02-20 18:13:24 +0000
commit90fe2105156b4a3d425f24b9d15d78c52333af0d (patch)
tree9417c3d30c6aeb940e2a00de3b759fda8170903c /share
parent75bb3c2fe5643c9f69a6bd080cd3be8f7e2582f3 (diff)
all photos have the same square thumb sizes
Diffstat (limited to 'share')
-rw-r--r--share/templates/default/header.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/templates/default/header.tmpl b/share/templates/default/header.tmpl
index ae1368d..cc664b5 100644
--- a/share/templates/default/header.tmpl
+++ b/share/templates/default/header.tmpl
@@ -40,6 +40,8 @@ cat <<END
img.thumb {
height: ${THUMBHEIGHT}px;
+ width: ${THUMBHEIGHT}px;
+ object-fit: cover;
}
img.thumb:hover {