@import './constants.less';
@import './mixin.less';

.@{ant-prefix}-table-placeholder {
  margin-top: 1px;
}

// ==============================================================================

/**
 * @description 修复Table滚动后最后一条数据离底部没有空间问题
 */
.@{ant-prefix}-table-scroll {
  .@{ant-prefix}-table-body {
    padding-bottom: 20px;
  }
}
// ==============================================================================

// ==============================================================================

/**
 * @description 减小尺寸
 */
.@{ant-prefix}-card {
  .@{ant-prefix}-card-body {
    padding: 10px;
  }
}

.@{ant-prefix}-table-wrapper {
  .@{ant-prefix}-table-pagination {
    &.@{ant-prefix}-pagination {
      margin: 10px 0;
    }
  }
}
// ==============================================================================

// ==============================================================================

/**
 * @description 修复DatePicker宽度不撑满问题
 */
.@{ant-prefix}-picker {
  width: 100%;
}
// ==============================================================================

// ==============================================================================

/**
 * @description 修复Textarea的count占位不正确问题
 */
.@{ant-prefix}-form-item {
  &.@{ant-prefix}-form-item-has-error {
    .@{ant-prefix}-input-textarea-show-count {
      padding-bottom: 0;

      &::after {
        position: absolute;
        right: 0;
        bottom: -22px;
      }
    }
  }
  .@{ant-prefix}-input-textarea-show-count {
    padding-bottom: 22px;

    &::after {
      position: relative;
      bottom: 0;
      margin-bottom: 0;
    }
  }
}
// ==============================================================================

// ==============================================================================

/**
 * @description 修复antd的App组件无高度问题
 */
.@{ant-prefix}-app {
  height: 100%;
}
// ==============================================================================
