UX: maintain aspect ratio of cropped image thumbnails

This commit is contained in:
Joe 2018-11-15 20:24:56 +08:00 committed by GitHub
parent c52e68a0c8
commit e7fa4c5dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@
.lightbox-wrapper {
display: inline-block;
img {
width: auto;
}
&,
* {
outline: 0;