<commit_before>@upload-prefix-cls: ant-upload;

.@{upload-prefix-cls} {

  > span {
    display: block;
    width: 100%;
  }

  input[type="file"] {
    cursor: pointer;
  }

  &&-select {
    display: inline-block;
  }

  &&-drag {
    border: 1px dashed @border-color-base;
    transition: border-color 0.3s ease;
    cursor: pointer;
    border-radius: @border-radius-base;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;

    &.@{upload-prefix-cls}-drag-hover {
      border: 2px dashed tint(@primary-color, 20%);
    }

    > span {
      display: table;
      height: 100%;
    }

    .@{upload-prefix-cls}-drag-container {
      display: table-cell;
      vertical-align: middle;
    }

    &:hover {
      border-color: tint(@primary-color, 20%);
    }

    p.@{upload-prefix-cls}-drag-icon {
      .anticon {
        font-size: 80px;
        margin-top: -5px;
        color: tint(@primary-color, 20%);
      }
      height: 60px;
      margin-bottom: 24px;
    }
    p.@{upload-prefix-cls}-text {
      font-size: 14px;
    }
    p.@{upload-prefix-cls}-hint {
      font-size: 12px;
      color: #999;
    }
    .anticon-plus {
      font-size: 30px;
      transition: all 0.3s ease;
      color: #d9d9d9;
      &:hover {
        color: #999;
      }
    }
    &:hover .anticon-plus {
      color: #999;
    }
  }
}

.@{upload-prefix-cls}-list {
  &-item {
    overflow: hidden;
    margin-top: 8px;
    font-size: 12px;

    &-info {
      height: 22px;
      line-height: 22px;
      padding: 0 4px;
      transition: background-color 0.3s ease;

      .anticon-paper-clip {
        margin-right: 4px;
        font-size: 12px;
        color: #999;
      }
      .anticon-cross {
        .iconfont-size-under-12px(10px);
        transition: all 0.3s ease;
        opacity: 0;
        cursor: pointer;
        float: right;
        color: #999;
        line-height: 22px;
        &:hover {
          color: #666;
        }
      }
    }

    &:hover &-info {
      background-color: tint(@primary-color, 90%);
    }

    &:hover .anticon-cross {
      opacity: 1;
    }

    &-error,
    &-error .anticon-paper-clip {
      color: @error-color;
    }

    &-error .anticon-cross {
      opacity: 1;
    }

    &-progress {
      padding: 0 8px 0 20px;
      margin-top: -2px;
      margin-bottom: 1px;
      font-size: 12px;
      .ant-progress-line-inner {
        vertical-align: middle;
      }
    }
  }

  &-picture &-item {
    padding: 8px;
    border-radius: @border-radius-base;
    border: 1px solid @border-color-base;
    height: 66px;
    position: relative;
    &:hover {
      background: transparent;
    }
  }

  &-picture &-item-info {
    padding: 0;
  }

  &-picture &-item:hover &-item-info {
    background: transparent;
  }

  &-picture &-item-uploading {
    border-style: dashed;
  }

  &-picture &-item-thumbnail {
    width: 48px;
    height: 48px;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
  }

  &-picture &-item-thumbnail img {
    width: 48px;
    height: 48px;
    display: block;
  }

  &-picture &-item-thumbnail.anticon:before {
    line-height: 48px;
    font-size: 24px;
    color: #999;
  }

  &-picture &-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 0 0 8px;
    line-height: 42px;
    transition: all 0.3s ease;
  }
<commit_msg>Style: fix upload picture long filename bug<commit_after>@upload-prefix-cls: ant-upload;

.@{upload-prefix-cls} {

  > span {
    display: block;
    width: 100%;
  }

  input[type="file"] {
    cursor: pointer;
  }

  &&-select {
    display: inline-block;
  }

  &&-drag {
    border: 1px dashed @border-color-base;
    transition: border-color 0.3s ease;
    cursor: pointer;
    border-radius: @border-radius-base;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;

    &.@{upload-prefix-cls}-drag-hover {
      border: 2px dashed tint(@primary-color, 20%);
    }

    > span {
      display: table;
      height: 100%;
    }

    .@{upload-prefix-cls}-drag-container {
      display: table-cell;
      vertical-align: middle;
    }

    &:hover {
      border-color: tint(@primary-color, 20%);
    }

    p.@{upload-prefix-cls}-drag-icon {
      .anticon {
        font-size: 80px;
        margin-top: -5px;
        color: tint(@primary-color, 20%);
      }
      height: 60px;
      margin-bottom: 24px;
    }
    p.@{upload-prefix-cls}-text {
      font-size: 14px;
    }
    p.@{upload-prefix-cls}-hint {
      font-size: 12px;
      color: #999;
    }
    .anticon-plus {
      font-size: 30px;
      transition: all 0.3s ease;
      color: #d9d9d9;
      &:hover {
        color: #999;
      }
    }
    &:hover .anticon-plus {
      color: #999;
    }
  }
}

.@{upload-prefix-cls}-list {
  &-item {
    overflow: hidden;
    margin-top: 8px;
    font-size: 12px;

    &-info {
      height: 22px;
      line-height: 22px;
      padding: 0 4px;
      transition: background-color 0.3s ease;

      .anticon-paper-clip {
        margin-right: 4px;
        font-size: 12px;
        color: #999;
      }
      .anticon-cross {
        .iconfont-size-under-12px(10px);
        transition: all 0.3s ease;
        opacity: 0;
        cursor: pointer;
        float: right;
        color: #999;
        line-height: 22px;
        &:hover {
          color: #666;
        }
      }
    }

    &:hover &-info {
      background-color: tint(@primary-color, 90%);
    }

    &:hover .anticon-cross {
      opacity: 1;
    }

    &-error,
    &-error .anticon-paper-clip {
      color: @error-color;
    }

    &-error .anticon-cross {
      opacity: 1;
    }

    &-progress {
      padding: 0 8px 0 20px;
      margin-top: -2px;
      margin-bottom: 1px;
      font-size: 12px;
      .ant-progress-line-inner {
        vertical-align: middle;
      }
    }
  }

  &-picture &-item {
    padding: 8px;
    border-radius: @border-radius-base;
    border: 1px solid @border-color-base;
    height: 66px;
    position: relative;
    &:hover {
      background: transparent;
    }
  }

  &-picture &-item-info {
    padding: 0;
  }

  &-picture &-item:hover &-item-info {
    background: transparent;
  }

  &-picture &-item-uploading {
    border-style: dashed;
  }

  &-picture &-item-thumbnail {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 8px;
    left: 8px;
  }

  &-picture &-item-thumbnail img {
    width: 48px;
    height: 48px;
    display: block;
  }

  &-picture &-item-thumbnail.anticon:before {
    line-height: 48px;
    font-size: 24px;
    color: #999;
  }

  &-picture &-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 0 0 8px;
    line-height: 42px;
    transition: all 0.3s ease;
    padding-left: 48px;
    padding-right: 8px;
    max-width: 100%;
    display: inline-block;
    box-sizing: border-box;
  }

{'fraction_non_alphanumeric': 0.14788123378495244, 'fraction_numerical': 0.036321706543672526, 'mean_word_length': 1.81044957472661, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4200668', 'n_tokens_mistral': 2759, 'n_tokens_neox': 2462, 'n_words': 514}