mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Merge pull request #1013 from nlegoff/fix-upload-img-overflow
[Ready][3.8] Fix canva overflow for thumbnail preview
This commit is contained in:
@@ -155,11 +155,9 @@ $(document).ready(function () {
|
|||||||
var maxFileSize = {{ maxFileSize }};
|
var maxFileSize = {{ maxFileSize }};
|
||||||
|
|
||||||
UploaderManager.Preview.setOptions({
|
UploaderManager.Preview.setOptions({
|
||||||
maxWidth: 160,
|
maxWidth: 130,
|
||||||
maxHeight: 120,
|
maxHeight: 120
|
||||||
minWidth: 160,
|
});
|
||||||
minHeight: 120
|
|
||||||
});
|
|
||||||
|
|
||||||
//Init jquery tabs
|
//Init jquery tabs
|
||||||
$(".upload-tabs", UploaderManager.getContainer()).tabs({
|
$(".upload-tabs", UploaderManager.getContainer()).tabs({
|
||||||
|
Reference in New Issue
Block a user