<commit_before>@import "../../assets/stylesheets/color-variables";
@import "../../assets/stylesheets/custom";
@import "../../assets/stylesheets/mixins";

//Iteration Style Start
.iteration-panel-header {
    padding: em(20);
    border-bottom: 1px solid $color-pf-black-300;
    h3{
      margin: 0;
    }
  }
.iterations-container {
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  /* Commenting this for hard coding the types value
  height: calc(100% - 190px) !important; // height is given to scroll the content
  */
  overflow: auto;
  //** Iterations expaned div styling **/
  .iteration-wrapper {
    .iteration-header {
      padding: em(10) em(20);
      > h4 {
        margin: 0;
      }
      .fa-icon {
        width: 15px;
      }
    }
    .iteration-expanded-div {
      padding-left: 0;
      margin-bottom: 0;
      > li {
        background-color: $color-pf-white;
        list-style: none;
        padding: em(15);
        &.active {
          border-left: 3px solid $navbar-pf-border-color;
        }
        .iteration-subheader {
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          .dropdown-kebab-pf{
            margin-left: em(10);
          }
          .iteration-name{
            line-height: 3rem;
          }
        }
        .iteration-status {
          padding: em(20) 0 em(15) 0;
        }
        .iteration-description {
          @include multiline-truncate($line-height: 1.5em, $line-count: 2, $bg-color: $color-pf-white) ;
        }
      }
    }
    .not-current-iteration{
      margin-bottom: 0;
      padding-left: 0;
      > li {
        padding: em(5) em(15) em(5) em(40);
        .iteration-name{
            line-height: 2.5rem;
          }
      }
      .badge {
        margin-right: em(10);
      }
    }
  }
}
.create-iteration-bar {
  position: absolute;
  width: $width100;
  bottom: 0;
  background: $color-pf-white;
  border-top: 1px solid $color-pf-black-300;
  padding: em(19);
  font-size: rem(14);
  color: $navbar-pf-border-color;
  .create-iteration-label {
    padding-left: em(5);
  }
}
//Iteration style end.

.types-container {
  flex: auto;
  padding: em(20);
  h4 {
    cursor: pointer;
  }
}
<commit_msg>Add scroll for iterations panel on the side bar (#987)<commit_after>@import "../../assets/stylesheets/color-variables";
@import "../../assets/stylesheets/custom";
@import "../../assets/stylesheets/mixins";

//Iteration Style Start
.iteration-panel-header {
    padding: em(20);
    border-bottom: 1px solid $color-pf-black-300;
    h3{
      margin: 0;
    }
  }
.iterations-container {
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  max-height: 50% !important; // height is given to scroll the content
  overflow: auto;
  //** Iterations expaned div styling **/
  .iteration-wrapper {
    .iteration-header {
      padding: em(10) em(20);
      > h4 {
        margin: 0;
      }
      .fa-icon {
        width: 15px;
      }
    }
    .iteration-expanded-div {
      padding-left: 0;
      margin-bottom: 0;
      > li {
        background-color: $color-pf-white;
        list-style: none;
        padding: em(15);
        &.active {
          border-left: 3px solid $navbar-pf-border-color;
        }
        .iteration-subheader {
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          .dropdown-kebab-pf{
            margin-left: em(10);
          }
          .iteration-name{
            line-height: 3rem;
          }
        }
        .iteration-status {
          padding: em(20) 0 em(15) 0;
        }
        .iteration-description {
          @include multiline-truncate($line-height: 1.5em, $line-count: 2, $bg-color: $color-pf-white) ;
        }
      }
    }
    .not-current-iteration{
      margin-bottom: 0;
      padding-left: 0;
      > li {
        padding: em(5) em(15) em(5) em(40);
        .iteration-name{
            line-height: 2.5rem;
          }
      }
      .badge {
        margin-right: em(10);
      }
    }
  }
}
.create-iteration-bar {
  position: absolute;
  width: $width100;
  bottom: 0;
  background: $color-pf-white;
  border-top: 1px solid $color-pf-black-300;
  padding: em(19);
  font-size: rem(14);
  color: $navbar-pf-border-color;
  .create-iteration-label {
    padding-left: em(5);
  }
}
//Iteration style end.

.types-container {
  flex: auto;
  padding: em(20);
  h4 {
    cursor: pointer;
  }
}

{'fraction_non_alphanumeric': 0.14876215738284704, 'fraction_numerical': 0.029398762157382848, 'mean_word_length': 1.8140547263681592, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1357857', 'n_tokens_mistral': 1648, 'n_tokens_neox': 1547, 'n_words': 312}