Skip to content
Snippets Groups Projects
Unverified Commit 11697d68 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix thumbnail not filling entire space sometimes (#6709)

parent 675b8fea
No related branches found
No related tags found
No related merge requests found
......@@ -168,11 +168,13 @@ class Item extends React.PureComponent {
}
if (originalWidth > originalHeight) {
imageStyle.height = '100%';
imageStyle.width = 'auto';
imageStyle.height = '100%';
imageStyle.width = 'auto';
imageStyle.minWidth = '100%';
} else {
imageStyle.height = 'auto';
imageStyle.width = '100%';
imageStyle.height = 'auto';
imageStyle.width = '100%';
imageStyle.minHeight = '100%';
}
imageStyle.top = vShift;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment