From f0a9efbd90daf2f11a74257411f073bd00dccc73 Mon Sep 17 00:00:00 2001 From: n_shimizu Date: Thu, 12 Mar 2020 17:16:13 +0900 Subject: [PATCH] [mod] resize image to fit in tile #104 --- static/css/tilelist.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/css/tilelist.css b/static/css/tilelist.css index 54a6f44..5fc7812 100644 --- a/static/css/tilelist.css +++ b/static/css/tilelist.css @@ -49,8 +49,8 @@ position: absolute; top: 0; width: 100% !important; - height: 80%; - object-fit: cover; + height: 75%; + object-fit: scale-down; margin: 0 0 !important; } .tile .caption { @@ -59,8 +59,8 @@ align-items: center; position: absolute; width: 100%; - height: 20%; - top: 80%; + height: 25%; + top: 75%; left: 0; color: #000; background-color: #fff; -- GitLab