<commit_before>
.accordion__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;

  &:not(:last-child) .accordion__item__title,
  &:not(:last-child) .accordion__item__content--active {
    border-bottom: 1px solid #d4d8db;
  }

  &:last-child .accordion__item__content--active {
    border-top: 1px solid #d4d8db;
  }

  &__title {
    align-items: center;
    background-color: #f6fafc;
    display: flex;
    flex: 0 0 auto;
    font-size: 13px;
    height: 30px;
    justify-content: space-between;
    line-height: $lineHeight;
    padding: 0 10px;

  }

  &__content {
    background-color: #ffffff;
    display: none;
    flex: 1 1 auto;
    line-height: $lineHeight;
    padding: 5px 10px;

    &--active {
      animation: display-none-transition 1s both;
      display: block;
      opacity: 1;
    }

    @keyframes display-none-transition {
      0% {
        opacity: 0;
      }
    }
  }
}
<commit_msg>Changed Accordion content display to flex<commit_after>
.accordion__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;

  &:not(:last-child) .accordion__item__title,
  &:not(:last-child) .accordion__item__content--active {
    border-bottom: 1px solid #d4d8db;
  }

  &:last-child .accordion__item__content--active {
    border-top: 1px solid #d4d8db;
  }

  &__title {
    align-items: center;
    background-color: #f6fafc;
    display: flex;
    flex: 0 0 auto;
    font-size: 13px;
    height: 30px;
    justify-content: space-between;
    line-height: $lineHeight;
    padding: 0 10px;

  }

  &__content {
    background-color: #ffffff;
    display: none;
    flex: 1 1 auto;
    line-height: $lineHeight;
    padding: 5px 10px;

    &--active {
      animation: display-none-transition 1s both;
      display: flex;
      opacity: 1;
    }

    @keyframes display-none-transition {
      0% {
        opacity: 0;
      }
    }
  }
}

{'fraction_non_alphanumeric': 0.12480499219968799, 'fraction_numerical': 0.029121164846593862, 'mean_word_length': 2.536764705882353, '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': '1362582', 'n_tokens_mistral': 752, 'n_tokens_neox': 685, 'n_words': 153}