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

.file-list {

  // this value affects virtualized lists, and without it
  // you'll see react-virtualized just skip rendering
  // as the available vertical space is computed as zero
  height: 100%;

  .list-item {
    padding: 0 var(--spacing);
    border-bottom: var(--base-border);
  }

  // Only use special colors for the change type icons when
  // the list item doesn't have active focus. If it does we
  // fall back to using the ambient foreground color of the
  // list item.
  .list-item:not(:focus) {
    @include octicon-status;
  }

  .file {
    display: flex;
    align-items: center;
    flex-grow: 1;

    // See https://css-tricks.com/flexbox-truncated-text/
    min-width: 0;

    .checkbox-component {
      flex-shrink: 0;
      width: 20px;
    }

    input, .status { flex-shrink: 0; }

    .path {
      display: flex;
      flex-direction: row;
      flex-grow: 1;
      min-width: 0;
      margin-right: var(--spacing-half);
    }

    .path-text-component {
      span {
        user-select: text;
      }
    }

    .rename-arrow {
      flex: 1;
      flex-shrink: 0;
    }

    .octicon { vertical-align: text-bottom; }
  }
}<commit_msg>Revert "Make file path in lists selectable"<commit_after>@import "../mixins";

.file-list {

  // this value affects virtualized lists, and without it
  // you'll see react-virtualized just skip rendering
  // as the available vertical space is computed as zero
  height: 100%;

  .list-item {
    padding: 0 var(--spacing);
    border-bottom: var(--base-border);
  }

  // Only use special colors for the change type icons when
  // the list item doesn't have active focus. If it does we
  // fall back to using the ambient foreground color of the
  // list item.
  .list-item:not(:focus) {
    @include octicon-status;
  }

  .file {
    display: flex;
    align-items: center;
    flex-grow: 1;

    // See https://css-tricks.com/flexbox-truncated-text/
    min-width: 0;

    .checkbox-component {
      flex-shrink: 0;
      width: 20px;
    }

    input, .status { flex-shrink: 0; }

    .path {
      display: flex;
      flex-direction: row;
      flex-grow: 1;
      min-width: 0;
      margin-right: var(--spacing-half);
    }

    .rename-arrow {
      flex: 1;
      flex-shrink: 0;
    }

    .octicon { vertical-align: text-bottom; }
  }
}
{'fraction_non_alphanumeric': 0.1280746395250212, 'fraction_numerical': 0.011874469889737066, 'mean_word_length': 2.095800524934383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4796830', 'n_tokens_mistral': 834, 'n_tokens_neox': 765, 'n_words': 228}