<commit_before>
.autocomplete {
  width: 100%;
  padding: 20px;
}

.autocomplete ul {
  list-style: none;
  width: 100%;
  margin: 0px;
  padding: 0px;
  border-left: 2px solid #dde1e4;
  border-right: 2px solid #dde1e4;
}

.autocomplete li:nth-child(1) {
  border-top: none;
}

.autocomplete li:last-child {
  border-bottom: 2px solid #dde1e4;
}

.autocomplete li {
  border-top: 2px solid #dde1e4;
  padding: 10px;
}

.autocomplete li:hover {
  background: #efefef;
  cursor: pointer;
}

.autocomplete li .title {
  font-size: 0.8em;
  line-height: 1.5em;
}

.autocomplete li .subtitle {
  font-size: 0.7em;
  line-height: 1.5em;
  color: grey;
}

.autocomplete input {
  width: 100%;
  border: 2px solid #dde1e4;
  line-height: 2.5em;
  height: 2.5em;
  padding-left: 25px;
  font-size: 0.8em;
  background-image: url("/images/magnifying-glass.svg");
  background-repeat: no-repeat;
  background-position: 5px 50%;
}

.autocomplete input:focus {
  border-color: #4a90e0;
}
<commit_msg>file search overflow should not lose the input<commit_after>
.autocomplete {
  width: 100%;
  padding: 20px;
}

.autocomplete ul {
  list-style: none;
  width: 100%;
  max-height: calc(100% - 32px);
  margin: 0px;
  padding: 0px;
  overflow: auto;
  border-left: 2px solid #dde1e4;
  border-right: 2px solid #dde1e4;
}

.autocomplete ul:not(:empty) {
  border-bottom: 2px solid #dde1e4;
}

.autocomplete li:nth-child(1) {
  border-top: none;
}

.autocomplete li {
  border-top: 2px solid #dde1e4;
  padding: 10px;
}

.autocomplete li:hover {
  background: #efefef;
  cursor: pointer;
}

.autocomplete li .title {
  font-size: 0.8em;
  line-height: 1.5em;
}

.autocomplete li .subtitle {
  font-size: 0.7em;
  line-height: 1.5em;
  color: grey;
}

.autocomplete input {
  width: 100%;
  border: 2px solid #dde1e4;
  line-height: 2.5em;
  height: 2.5em;
  padding-left: 25px;
  font-size: 0.8em;
  background-image: url("/images/magnifying-glass.svg");
  background-repeat: no-repeat;
  background-position: 5px 50%;
}

.autocomplete input:focus {
  border-color: #4a90e0;
}

{'fraction_non_alphanumeric': 0.146045608927705, 'fraction_numerical': 0.05482775351770985, 'mean_word_length': 3.472885032537961, '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': '5379722', 'n_tokens_mistral': 947, 'n_tokens_neox': 854, 'n_words': 194}