From 2ee2e5c98175a4d46435c165602152e6d3d56473 Mon Sep 17 00:00:00 2001 From: Maja Komel Date: Tue, 11 Dec 2018 12:23:39 +0100 Subject: [PATCH] UX: fix cropped image thumbnails --- app/assets/stylesheets/common/base/lightbox.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/common/base/lightbox.scss b/app/assets/stylesheets/common/base/lightbox.scss index 03aefbae8e6..db6e3ca516d 100644 --- a/app/assets/stylesheets/common/base/lightbox.scss +++ b/app/assets/stylesheets/common/base/lightbox.scss @@ -10,6 +10,10 @@ .lightbox-wrapper { display: inline-block; + img { + object-fit: cover; + object-position: top; + } &, * { outline: 0;