<commit_before>@import (reference) "shared/_mixins";

.task-card-details {
  overflow: hidden;
  margin-top: 5px;
  max-height: 45px;
  padding-bottom: 0;
  transition: max-height 0.218s ease, padding-bottom 0.218s ease;

  position: relative;

  .shutter {
    display: block;
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    height: @grid-gutter-width;

    .gradient(top, fade(@column-center-bg, 0), @column-center-bg);
    background-position-y: 100%;
    background-repeat: repeat-x;

    > a.glyphicon {
      position: absolute;
      top: auto;
      bottom: 1px;
      margin-left: -6px;
      left: 50%;
    }
  }

  &.expanded {
    max-height: 2000px;
    padding-bottom: 20px;
    overflow-y: auto;
    .shutter {
      background: none;
      height: (@grid-gutter-width * 0.5);
    }
  }

  &.no-shutter {
    max-height: auto;
    .shutter {
      display: none;
    }
  }
}<commit_msg>fix(tasklist): remove flickering when expanding task<commit_after>@import (reference) "shared/_mixins";

.task-card-details {
  overflow: hidden;
  margin-top: 5px;
  max-height: 45px;
  padding-bottom: 0;
  transition: max-height 0.218s ease, padding-bottom 0.218s ease;

  position: relative;

  .shutter {
    display: block;
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    height: @grid-gutter-width;

    .gradient(top, fade(@column-center-bg, 0), @column-center-bg);
    background-position-y: 100%;
    background-repeat: repeat-x;

    > a.glyphicon {
      position: absolute;
      top: auto;
      bottom: 1px;
      margin-left: -6px;
      left: 50%;
    }
  }

  &.expanded {
    max-height: 2000px;
    padding-bottom: 20px;
    .shutter {
      background: none;
      height: (@grid-gutter-width * 0.5);
    }
  }

  &.no-shutter {
    max-height: auto;
    .shutter {
      display: none;
    }
  }
}
{'fraction_non_alphanumeric': 0.14395886889460155, 'fraction_numerical': 0.0339331619537275, 'mean_word_length': 2.315161839863714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '832939', 'n_tokens_mistral': 773, 'n_tokens_neox': 699, 'n_words': 155}