<commit_before>#PostPreviewContent > article {
  @include justify-content(flex-start);

  max-width: 900px;
  margin: 0 auto;
  padding: 0 1em 6em 1em;
  width: 100%;

  font-size: 1.3em;
  line-height: 1.6em;

  h1,h2,h3,h4,h5,h6 {
    font-weight: bolder;
  }

  ul, ol {
    padding-left: 1em;
  }

  ul {
    list-style-type: circle;
  }

  ol {
    list-style-type: decimal;
  }

  li {
    margin: 0.3em 0;
  }

  p {
    margin: 1.5em 0;
  }
}

#PostPreviewContent pre {
  background-color: $light-blue;
  font-size: 0.7em;
  border-radius: 2px;
  overflow: hidden;
  padding: 0;

  header {
    padding: 0.3em 1em;
    background-color: $navy-blue;
    color: $light-blue;
    font-style: italic;
  }

  code {
    padding: 1em;
    display: inline-block;
  }
}
<commit_msg>Add image styling for the preview and make sure it doesn't go wider than 100% of width<commit_after>#PostPreviewContent > article {
  @include justify-content(flex-start);

  max-width: 900px;
  margin: 0 auto;
  padding: 0 1em 6em 1em;
  width: 100%;

  font-size: 1.3em;
  line-height: 1.6em;

  h1,h2,h3,h4,h5,h6 {
    font-weight: bolder;
  }

  ul, ol {
    padding-left: 1em;
  }

  ul {
    list-style-type: circle;
  }

  ol {
    list-style-type: decimal;
  }

  li {
    margin: 0.3em 0;
  }

  p {
    margin: 1.5em 0;
  }
}

#PostPreviewContent > article > figure {
  border: 1px solid $gray-blue;

  img {
    max-width: 100%;
    margin: 12px;
  }

  figcaption {
    text-align: center;
    font-style: italic;
    font-size: 0.8em;
    color: $light-blue;
    background-color: $gray-blue;
    padding: 0.2em 0.4em;
  }
}


#PostPreviewContent pre {
  background-color: $light-blue;
  font-size: 0.7em;
  border-radius: 2px;
  overflow: hidden;
  padding: 0;

  header {
    padding: 0.3em 1em;
    background-color: $navy-blue;
    color: $light-blue;
    font-style: italic;
  }

  code {
    padding: 1em;
    display: inline-block;
  }
}

{'fraction_non_alphanumeric': 0.13814432989690723, 'fraction_numerical': 0.04484536082474227, 'mean_word_length': 2.4172535211267605, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3516520', 'n_tokens_mistral': 874, 'n_tokens_neox': 788, 'n_words': 178}