-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent thumbnail overflow in file info #1091
Conversation
I had to add the |
I assume this is no longer a draft? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a single max-width: 100%
would work here, too? Then there is no need for object-fit
, height
or the @if
.
@mzur
|
Maybe add a |
Sorry, I overlooked that I was still using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the object-fit
required at all now? Also I think a max-height: 100%
has no effect. Better would be a max-height: 270px
(as this is the default thumbnail size).
I removed |
Closes #1016.