Skip to content

A platform for community discussion. Free, open, simple.

UX: maintain aspect ratio of cropped image thumbnails

Joee7fa4c5dd135
diff --git a/app/assets/stylesheets/common/base/lightbox.scss b/app/assets/stylesheets/common/base/lightbox.scss
index 06c32b1636c..afda8664ad4 100644
--- a/app/assets/stylesheets/common/base/lightbox.scss
+++ b/app/assets/stylesheets/common/base/lightbox.scss
@@ -10,6 +10,9 @@
.lightbox-wrapper {
display: inline-block;
+ img {
+ width: auto;
+ }
&,
* {
outline: 0;