Skip to content

Commit

Permalink
Fix fileupload thumbnail preview (wintercms#985)
Browse files Browse the repository at this point in the history
Avoids weird cropping / stretching issues.
  • Loading branch information
AIC-BV authored Oct 10, 2023
1 parent 2bd7cf2 commit 751545f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@

&.image img {
.border-left-radius(3px);
width: auto;
width: 100%;
height: 100%;
object-fit: cover;
}
}

Expand Down Expand Up @@ -131,4 +133,4 @@
width: auto;
}
}
}
}

0 comments on commit 751545f

Please sign in to comment.