Skip to content

Commit 1b2678a

Browse files
committed
Fix minor layout issues
1 parent 0eb5d85 commit 1b2678a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

css/cropper/cropper-ui.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.cropper-actions {
22
margin-top: 0.5em;
3-
text-align: center;
3+
margin-left: 20px;
44
}
55

66
.cropper-actions label {

src/WebApp/BootstrapTheme/NewImageUploadRenderer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public function renderEditor() {
4848
$height = $this->component->getHeight();
4949
$rc = '<div class="cropper-editor" style="max-width: '.$width.'px; max-height: '.$height.'px; margin: 20px;">'.
5050
'<img data-imgid="'.$did.'" class="cropper-image" style="background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC\'); width: '.$width.'px; height: '.$height.'px;" src="'.$src.'">'.
51-
$this->renderActions().
5251
//$this->renderDocToggles().
53-
'</div>';
52+
'</div>'.
53+
$this->renderActions();
5454
return $rc;
5555
}
5656

0 commit comments

Comments
 (0)