TableView.less 930 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
.content {
  height: 620px;

  :global {
    .ant-table-row {
      height: 49px;
    }

    .editable-cell {
      position: relative;
    }

    .editable-cell-value-wrap {
      padding: 5px 12px;
      cursor: pointer;
    }

    .editable-row:hover .editable-cell-value-wrap {
      padding: 4px 11px;
      border: 1px solid #fff;
      border-radius: 2px;
    }

    [data-theme='dark'] .editable-row:hover .editable-cell-value-wrap {
      border: 1px solid #434343;
    }

    .ant-table-cell-ellipsis {
      overflow: visible;
    }

    .ant-form-item-explain {
      position: absolute;
      height: 35px;
      width: 140px;
      background-color: #ff4d4f;
      top: -50px;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 5px;
    }

    .ant-form-item-explain-error {
      color: #fff;
      line-height: 35px;
    }

    .ant-select-arrow .anticon {
      margin-top: 8px;
    }
  }

}