فهرست منبع

typo on custom css box and took off print margin

causefx 8 سال پیش
والد
کامیت
9dec944e4a
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      api/functions/organizr-functions.php
  2. 1 0
      js/functions.js

+ 1 - 1
api/functions/organizr-functions.php

@@ -481,7 +481,7 @@ function getCustomizeAppearance(){
         			'type' => 'html',
                     'override' => 12,
         			'label' => 'Custom CSS [Can replace colors from above]',
-        			'html' => '<button type="button" class="saveCss btn btn-info btn-circle pull-right m-r-5 m-l-5"><i class="fa fa-save"></i> </button><div id="customCSSEditor" style="height:300px">'.$GLOBALS['customCss'].'</span>'
+        			'html' => '<button type="button" class="saveCss btn btn-info btn-circle pull-right m-r-5 m-l-10"><i class="fa fa-save"></i> </button><div id="customCSSEditor" style="height:300px">'.$GLOBALS['customCss'].'</div>'
         		),
             )
         );

+ 1 - 0
js/functions.js

@@ -804,6 +804,7 @@ function buildCustomizeAppearance(){
 		var CssMode = ace.require("ace/mode/css").Mode;
 		cssEditor.session.setMode(new CssMode());
 		cssEditor.setTheme("ace/theme/idle_fingers");
+		cssEditor.setShowPrintMargin(false)
 	}).fail(function(xhr) {
 		console.error("Organizr Function: API Connection Failed");
 	});