TableList.less 891 Bytes
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
2
@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 {
陈帅's avatar
陈帅 committed
33
    display: block;
afc163's avatar
afc163 committed
34
    white-space: nowrap;
35
    margin-bottom: 24px;
afc163's avatar
afc163 committed
36
  }
37 38
}

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

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