Skip to content

Commit

Permalink
Fix fileupload thumbnail preview v2
Browse files Browse the repository at this point in the history
As discussed on wintercms#985
  • Loading branch information
AIC-BV authored Oct 12, 2023
1 parent 751545f commit d1dc4af
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,24 @@
.icon-container {
border-right: 1px solid #f6f8f9;
float: left;
display: inline-block;
// display: inline-block;
overflow: hidden;
width: 75px;
height: 75px;

display: flex;
align-items: center;
justify-content: center;

i {
font-size: 35px;
}

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

Expand Down

0 comments on commit d1dc4af

Please sign in to comment.