onepsycho@163.com hace 11 meses
padre
commit
b438fcff58

+ 1 - 1
TEAMModelOS/ClientApp/public/kityformula/assets/styles/base.css

@@ -18,7 +18,7 @@
     left: 0;
 
     z-index: 1;
-    height: 0;
+    height: 290px !important;
     background-color: white;
     /*background-color: white;*/
     /*background-size: 21px 21px;*/

+ 3 - 3
TEAMModelOS/ClientApp/src/utils/kityformula.js

@@ -6,7 +6,7 @@ export default function(editor) {
 
 	const conf = {
 		width: 900,
-		height: 560,
+		height: 450,
 
 		// panel 中可包含多个 tab
 		tabs: [{
@@ -14,9 +14,9 @@ export default function(editor) {
 				title: app.$t('evaluation.editor.insertFormula'),
 				// 模板
 				tpl: `<div>
-                  <iframe id="${inputIFrameId}" class="iframe" height="500px" width="100%" frameborder="0" scrolling="no" src="/kityformula/index.html"></iframe>
+                  <iframe id="${inputIFrameId}" class="iframe" height="400px" width="100%" frameborder="0" scrolling="no" src="/kityformula/index.html"></iframe>
                   <div class="w-e-button-container">
-                      <button id="${btnOkId}" class="right">
+                      <button id="${btnOkId}" class="right" style="float:left">
                           ${app.$t('evaluation.editor.confirmInsert')}
                       </button>
                   </div>