TableList.less 874 Bytes
Newer Older
jim's avatar
jim committed
1 2
@import '~antd/lib/style/themes/default.less';
@import '../../utils/utils.less';
3 4 5 6 7 8 9 10 11 12

.tableList {
  .tableListOperator {
    margin-bottom: 16px;
    button {
      margin-right: 8px;
    }
  }
}

afc163's avatar
afc163 committed
13 14 15 16
.tableListForm {
  :global {
    .ant-form-item {
      margin-bottom: 24px;
afc163's avatar
afc163 committed
17
      margin-right: 0;
afc163's avatar
afc163 committed
18
      display: flex;
19 20 21 22 23
      > .ant-form-item-label {
        width: auto;
        line-height: 32px;
        padding-right: 8px;
      }
afc163's avatar
afc163 committed
24 25 26
      .ant-form-item-control {
        line-height: 32px;
      }
afc163's avatar
afc163 committed
27 28 29 30 31
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
FOCUS's avatar
FOCUS committed
32
  .submitButtons {
afc163's avatar
afc163 committed
33
    white-space: nowrap;
34
    margin-bottom: 24px;
afc163's avatar
afc163 committed
35
  }
36 37
}

niko's avatar
niko committed
38
@media screen and (max-width: @screen-lg) {
afc163's avatar
afc163 committed
39 40
  .tableListForm :global(.ant-form-item) {
    margin-right: 24px;
niko's avatar
niko committed
41 42 43
  }
}

44
@media screen and (max-width: @screen-md) {
afc163's avatar
afc163 committed
45 46
  .tableListForm :global(.ant-form-item) {
    margin-right: 8px;
47 48
  }
}