Skip to content

Commit 1e311e7

Browse files
committed
Releasing 1.0.24
2 parents 02fd080 + 091a395 commit 1e311e7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

css/cropper/cropper-ui.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
.cropper-nav {
15-
height: 150px;
15+
height: 160px;
1616
margin: 10px;
1717
overflow-x: auto;
1818
white-space: nowrap;
@@ -48,9 +48,11 @@
4848
padding: 2px;
4949
}
5050

51+
/*
5152
.cropper-editor {
5253
width: 100%;
5354
}
55+
*/
5456

5557
.cropper-image {
5658
background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC\');

src/WebApp/BootstrapTheme/NewImageUploadRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function renderEditor() {
4747
}
4848
$width = $this->component->getWidth();
4949
$height = $this->component->getHeight();
50-
$rc = '<div class="cropper-editor">'.
50+
$rc = '<div class="cropper-editor" style="max-width: '.$width.'px;">'.
5151
'<img data-imgid="'.$did.'" class="cropper-image img-fluid" src="'.$src.'">'.
5252
//$this->renderDocToggles().
5353
'</div>'.

0 commit comments

Comments
 (0)