<commit_before>#context-menu {
  font-size: 0.9em;
  position: absolute;
  z-index: 40;
}

#context-menu ul, #context-menu li, #context-menu a {
  border: 0 none;
  display: block;
  margin: 0;
  padding: 0;
}

#context-menu ul {
  background: white none repeat scroll 0 0;
  border: 1px solid #ccc;
  border-radius: 2px;
  list-style: outside none none;
  padding: 2px;
  width: 150px;
}

#context-menu li {
  border: 1px solid white;
  padding: 1px;
  position: relative;
  z-index: 39;
}

#context-menu li.folder ul {
  left: 168px;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  top: -2px;
}

#context-menu li.folder > ul {
  left: 148px;
}

#context-menu.reverse-y li.folder > ul {
  bottom: 0;
  top: auto;
}

#context-menu.reverse-x li.folder ul {
  left: auto;
  right: 168px;
}

#context-menu.reverse-x li.folder > ul {
  right: 148px;
}

#context-menu a {
  background-position: 1px 50%;
  background-repeat: no-repeat;
  padding: 2px 0 2px 10px;
  text-decoration: none !important;
  width: 100%;
}

#context-menu li > a {
  width: auto;
}
<commit_msg>Make context-menu width auto-ajust on content<commit_after>#context-menu {
  font-size: 0.9em;
  position: absolute;
  z-index: 40;
}

#context-menu ul, #context-menu li, #context-menu a {
  border: 0 none;
  display: block;
  margin: 0;
  padding: 0;
}

#context-menu ul {
  background: white none repeat scroll 0 0;
  border: 1px solid #ccc;
  border-radius: 2px;
  list-style: outside none none;
  padding: 2px;
  width: auto;
}

#context-menu li {
  border: 1px solid white;
  padding: 1px;
  position: relative;
  z-index: 39;
}

#context-menu li.folder ul {
  left: 168px;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  top: -2px;
}

#context-menu li.folder > ul {
  left: 148px;
}

#context-menu.reverse-y li.folder > ul {
  bottom: 0;
  top: auto;
}

#context-menu.reverse-x li.folder ul {
  left: auto;
  right: 168px;
}

#context-menu.reverse-x li.folder > ul {
  right: 148px;
}

#context-menu a {
  background-position: 1px 50%;
  background-repeat: no-repeat;
  padding: 2px 5px;
  text-decoration: none !important;
  width: 100%;
}

#context-menu li > a {
  width: auto;
}

{'fraction_non_alphanumeric': 0.14080717488789238, 'fraction_numerical': 0.039461883408071746, 'mean_word_length': 3.209433962264151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '7645273', 'n_tokens_mistral': 961, 'n_tokens_neox': 872, 'n_words': 239}