<commit_before>.project-header {
  height: 100%;

  // ellipsis truncation requires explicit width
  width: 195px;
  @media screen and (min-width: 400px) {
    width: 200px;
  }

  @media screen and (min-width: 500px) {
    width: 300px;
  }

  @media screen and (min-width: 600px) {
    width: 400px;
  }

  @media screen and (min-width: 700px) {
    width: 500px;
  }

  @media screen and (min-width: 800px) {
    width: 600px;
  }

  @media screen and (min-width: 900px) {
    width: 700px;
  }
}

.project-header__menu-toggle-label {
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

.project-header__title {
  @include header-title;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-header__caret {
  @include header-title;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 4px;
}

// toggle menu
.project-header__project-list {
  display: none;
  position: absolute;
  top: 100%;
  z-index: 2;
}
.project-header__menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.project-header__menu-toggle:checked + .project-header__menu-toggle-label {
  .project-header__menu-overlay {
    display: block;
  }
}
.project-header__menu-toggle:checked ~ .project-header__project-list {
  display: block;
}<commit_msg>Make project header caret closer to spec<commit_after>.project-header {
  height: 100%;

  // ellipsis truncation requires explicit width
  width: 195px;
  @media screen and (min-width: 400px) {
    width: 200px;
  }

  @media screen and (min-width: 500px) {
    width: 300px;
  }

  @media screen and (min-width: 600px) {
    width: 400px;
  }

  @media screen and (min-width: 700px) {
    width: 500px;
  }

  @media screen and (min-width: 800px) {
    width: 600px;
  }

  @media screen and (min-width: 900px) {
    width: 700px;
  }
}

.project-header__menu-toggle-label {
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

.project-header__title {
  @include header-title;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-header__caret {
  @include header-title;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 4px;
  opacity: 0;
  transition: opacity 100ms ease;
}
.project-header__menu-toggle-label:hover .project-header__caret {
  opacity: 1;
}

// toggle menu
.project-header__project-list {
  display: none;
  position: absolute;
  top: 100%;
  z-index: 2;
}
.project-header__menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.project-header__menu-toggle:checked + .project-header__menu-toggle-label {
  .project-header__menu-overlay {
    display: block;
  }
}
.project-header__menu-toggle:checked ~ .project-header__project-list {
  display: block;
}
{'fraction_non_alphanumeric': 0.13326551373346898, 'fraction_numerical': 0.0423872499152255, 'mean_word_length': 3.2568542568542567, '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': '1082854', 'n_tokens_mistral': 1209, 'n_tokens_neox': 1069, 'n_words': 256}