<commit_before>@import "../../mixins";

/** A React component holding the selected commit's detailed information */
#commit-summary {

  display: flex;
  flex-direction: column;

  .avatar {
    width: 16px;
    height: 16px;
  }

  .expander {
    position: absolute;
    width: 75px;
    top: var(--spacing);
    right: var(--spacing);

    svg {
      vertical-align: text-top;
      margin-right: var(--spacing-half);
    }
  }

  &.expanded {
    .commit-summary-description {
      max-height: none;
      flex-grow: 1;
       overflow: auto;
    }
  }

  &.has-expander {
    .commit-summary-description {
      padding-right: 150px;
    }
  }
}

.commit-summary {
  &-title,
  &-meta {
    padding: var(--spacing);
  }

  &-title {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    padding: var(--spacing);
    word-wrap: break-word;
  }

  &-description-container {
    display: flex;<commit_msg>Don't show bottom border when expanded<commit_after>@import "../../mixins";

/** A React component holding the selected commit's detailed information */
#commit-summary {

  display: flex;
  flex-direction: column;

  .avatar {
    width: 16px;
    height: 16px;
  }

  .expander {
    position: absolute;
    width: 75px;
    top: var(--spacing);
    right: var(--spacing);

    svg {
      vertical-align: text-top;
      margin-right: var(--spacing-half);
    }
  }

  &.expanded {

    .commit-summary-description-container {
      border-bottom: none;
    }

    .commit-summary-description {
      max-height: none;
      flex-grow: 1;
       overflow: auto;
    }
  }

  &.has-expander {
    .commit-summary-description {
      padding-right: 150px;
    }
  }
}

.commit-summary {
  &-title,
  &-meta {
    padding: var(--spacing);
  }

  &-title {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: 16px;
    padding: var(--spacing);
    word-wrap: break-word;
  }

  &-description-container {
    display: flex;
{'fraction_non_alphanumeric': 0.15748031496062992, 'fraction_numerical': 0.011811023622047244, 'mean_word_length': 2.1965408805031448, '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': '7237657', 'n_tokens_mistral': 752, 'n_tokens_neox': 689, 'n_words': 139}