<commit_before>@class-prefix-form-item: ~'adm-form-item';

.@{class-prefix-form-item} {
  + .@{class-prefix-form-item} {
    border-top: none;
  }

  &-label {
    display: block;
    height: 100%;
    box-sizing: border-box;
    color: #666;
    position: relative;

    &-required {
      position: absolute;
      left: -0.6em;
      top: 0.2em;
      color: var(--adm-color-danger);
      user-select: none;
    }
  }

  &-footer {
    color: var(--adm-color-danger);
  }

  &-hidden {
    display: none;
  }
}

.adm-form-vertical {
  .@{class-prefix-form-item} {
    &-label {
      margin-bottom: 4px;
    }
    &-footer {
      margin-top: 4px;
    }
  }
}<commit_msg>fix: (Form.Item) hidden may not working due to CSS priority<commit_after>@class-prefix-form-item: ~'adm-form-item';

.@{class-prefix-form-item} {
  + .@{class-prefix-form-item} {
    border-top: none;
  }

  &-label {
    display: block;
    height: 100%;
    box-sizing: border-box;
    color: #666;
    position: relative;

    &-required {
      position: absolute;
      left: -0.6em;
      top: 0.2em;
      color: var(--adm-color-danger);
      user-select: none;
    }
  }

  &-footer {
    color: var(--adm-color-danger);
  }

  &&-hidden {
    display: none;
  }
}

.adm-form-vertical {
  .@{class-prefix-form-item} {
    &-label {
      margin-bottom: 4px;
    }
    &-footer {
      margin-top: 4px;
    }
  }
}
{'fraction_non_alphanumeric': 0.18110236220472442, 'fraction_numerical': 0.01717967072297781, 'mean_word_length': 1.980810234541578, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5376612', 'n_tokens_mistral': 579, 'n_tokens_neox': 532, 'n_words': 93}