fileUpload.less 559 Bytes
Newer Older
陈龙's avatar
陈龙 committed
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
@import '~antd/es/style/themes/default.less';
@parse-form-prefix-cls: ~'@{ant-prefix}-parse-form';
.@{parse-form-prefix-cls} {
  .formUpload {
    width: 100%;

    .@{ant-prefix}-upload-list-item {
      float: left;
      width: 49%;
      max-width: 300px; // 增加了最大宽度,防止样式失效导致布局错误的问题
      margin-right: 1%;
    }
  }
  .@{ant-prefix}-animate {
  }
  .formUploadVideoOrRecording {
    width: 100%;

    .@{ant-prefix}-upload-list-item {
      float: left;
      width: 99%;
      margin-right: 1%;
    }
  }
}