king
2022-03-03 3fc643dea8f8c957a95a86d250b5d8b06fb740e1
src/tabviews/custom/components/table/edit-table/normalTable/index.scss
@@ -18,6 +18,12 @@
    color: inherit;
    font-size: inherit;
  }
  .mk-edit-sign {
    position: absolute;
    bottom: 2px;
    right: 5px;
    opacity: 0.7;
  }
  table {
    max-width: 100%;
@@ -135,28 +141,7 @@
      }
    }
  }
  .ant-input {
    border: none;
    box-shadow: none!important;
    height: auto;
    border-radius: 0;
  }
  .ant-input-number {
    border: none;
    box-shadow: none!important;
    height: auto;
    border-radius: 0;
    position: unset;
    
    .ant-input-number-handler-wrap {
      display: none;
    }
    .ant-input-number-input {
      border-radius: 0;
      padding: 0;
      height: auto;
    }
  }
  .editing_table_cell {
    .ant-input {
      padding: 0px;
@@ -165,7 +150,10 @@
      left: 0px;
      right: 0px;
      bottom: 0px;
      border: 1px solid #1890ff;
      border: 1px solid var(--antd-wave-shadow-color);
      height: auto;
      border-radius: 0;
      box-shadow: none!important;
    }
    .ant-select {
      padding: 0px;
@@ -183,18 +171,46 @@
        }
      }
    }
    .ant-input-number {
      height: auto;
      border-radius: 0;
      position: unset;
      border: none;
      box-shadow: none!important;
      .ant-input-number-handler-wrap {
        display: none;
      }
    .ant-input-number-input {
        border-radius: 0;
        padding: 0;
        height: auto;
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      border: 1px solid #1890ff;
        border: 1px solid var(--antd-wave-shadow-color);
    }
    .anticon {
    }
    .anticon-exclamation-circle {
      color: #ff4d4f;
      position: absolute;
      right: 3px;
      top: calc(50% - 8px);
    }
  }
  .editing_all_table_cell {
    .ant-select {
      width: 100%;
    }
    .ant-input-number-handler-wrap {
      display: none;
    }
    .anticon-exclamation-circle {
      color: #ff4d4f;
      position: absolute;
      right: 13px;
      top: calc(50% - 8px);
    }
  }
@@ -214,12 +230,11 @@
  }
  .mk-editable {
    position: absolute;
    display: inline-block;
    top: calc(50% - 13px);
    display: none;
    top: calc(50% - 18px);
    cursor: pointer;
    padding: 10px 5px;
    opacity: 0;
    // transition: opacity 0.3s 0.1s, left 0.1s;
  }
  tr:hover {
    .mk-editable {
@@ -234,13 +249,11 @@
  }
  .mk-plus {
    left: 0px;
    // left: -25px;
    color: rgb(38, 194, 129);
    padding-right: 10px;
  }
  .mk-del {
    right: 0px;
    // right: -25px;
    color: rgb(255, 77, 79);
    padding-left: 10px;
  }
@@ -280,6 +293,9 @@
  .ant-table-placeholder {
    display: none;
  }
  .mk-editable {
    display: inline-block;
  }
}
.edit-custom-table:not(.fixed-height) {
  .ant-table-body::-webkit-scrollbar {