mirror of
https://github.com/nextcloud/server.git
synced 2024-08-06 15:06:39 +02:00
for text use max-height to trim whitespace
This commit is contained in:
parent
2e5e0c157d
commit
dd337597b3
@ -29,7 +29,7 @@
|
||||
var $textPreview = $('<pre/>').text(content);
|
||||
$thumbnailDiv.children('.stretcher').remove();
|
||||
$thumbnailDiv.append($textPreview);
|
||||
$thumbnailContainer.height(previewHeight);
|
||||
$thumbnailContainer.css("max-height", previewHeight);
|
||||
}, function () {
|
||||
fallback();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user