<commit_before>.previewIframe {
  align-self: flex-start;
}

.previewImage {
  max-width: 100%;
  text-align: center;
  img {
    max-width: 100%;
  }
}

.previewVideo {
  max-width: 100%;
  text-align: center;
  video {
    max-width: 100%;
  }
}

.previewCode {
  min-width: 100%;
  font-size: .8em;
  align-self: flex-start;
}

.previewPdf {
  align-self: flex-start;
  /*flex-direction: column;
  align-items: center;*/
  min-width: 100%;
  height: 100%;
  overflow: auto;
  text-align: center;
  box-sizing: border-box;
  padding: 20px;
  margin: -10px;
  canvas {
    display: block;
    margin: 10px auto;
    box-shadow: 0px 0px 5px #ddd;
  }
}

.previewText {
  min-width: 100%;
  font-size: .8em;
  align-self: flex-start;
  font-size: 16px;
  padding: 10px;
  p {
    font-size: 1em;
    margin: 0 0 10px;
  }
  h1, h2, h3, h4 {
    color: #000;
    margin-top: 24px;<commit_msg>Fix pdf preview scrolling bug<commit_after>.previewIframe {
  align-self: flex-start;
}

.previewImage {
  max-width: 100%;
  text-align: center;
  img {
    max-width: 100%;
  }
}

.previewVideo {
  max-width: 100%;
  text-align: center;
  video {
    max-width: 100%;
  }
}

.previewCode {
  min-width: 100%;
  font-size: .8em;
  align-self: flex-start;
}

.previewPdf {
  align-self: flex-start;
  position: absolute;
  left: 0;
  top: 0;
  min-width: 100%;
  height: 100%;
  overflow: auto;
  text-align: center;
  box-sizing: border-box;
  padding: 20px;
  margin: -10px;
  canvas {
    display: block;
    margin: 10px auto;
    box-shadow: 0px 0px 5px #ddd;
  }
}

.previewText {
  min-width: 100%;
  font-size: .8em;
  align-self: flex-start;
  font-size: 16px;
  padding: 10px;
  p {
    font-size: 1em;
    margin: 0 0 10px;
  }
  h1, h2, h3, h4 {
    color: #000;
    margin-top: 24px;
{'fraction_non_alphanumeric': 0.15565509518477044, 'fraction_numerical': 0.060470324748040316, 'mean_word_length': 2.5811623246492985, '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': '5277398', 'n_tokens_mistral': 840, 'n_tokens_neox': 745, 'n_words': 173}