Bläddra i källkod

更新下拉框标示符位置

zhangweicheng 6 år sedan
förälder
incheckning
60afd4f750
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      public/web/tree_sheet/tree_sheet_helper.js
  2. 1 1
      web/building_saas/css/custom.css

+ 2 - 2
public/web/tree_sheet/tree_sheet_helper.js

@@ -508,9 +508,9 @@ var TREE_SHEET_HELPER = {
                 $editor.css("height", cellRect.height);
                 $editor.css("height", cellRect.height);
                 $editor.attr("gcUIElement", "gcEditingInput");//padding:0  //value="${context.sheet.getValue(context.row,context.col)}"
                 $editor.attr("gcUIElement", "gcEditingInput");//padding:0  //value="${context.sheet.getValue(context.row,context.col)}"
                 $editor.html(` <div class="input-group input-group-sm">
                 $editor.html(` <div class="input-group input-group-sm">
-                                <input type="text" id="esInput" class="form-control" aria-label="Text input with dropdown button" autocomplete="off"   style="background-color:${cellStyle.backColor}">
+                                <input type="text" id="esInput" class="form-control" aria-label="Text input with dropdown button" autocomplete="off"   style=" background-color:${cellStyle.backColor}">
                                 <div class="">                           
                                 <div class="">                           
-                                    <div class="triangle-border_dropdown tb-border_dropdown" id="esBtn" style="left: ${cellRect.width - 15+"px"}"></div>
+                                    <div class="triangle-border_dropdown tb-border_dropdown" id="esBtn" style="z-index:10; left: ${cellRect.width - 15+"px"};top:${cellRect.height/2-2+"px"}"></div>
                                 </div>
                                 </div>
                             </div>
                             </div>
                 `);
                 `);

+ 1 - 1
web/building_saas/css/custom.css

@@ -261,4 +261,4 @@ legend.legend{
 .item_spread{
 .item_spread{
     width: 30%;
     width: 30%;
     float: left;
     float: left;
-}
+}