<commit_before>// ==========================================================================
// WFP UI Docs Styles
// ==========================================================================

pre > code {
  background-color: initial;
}

figure {
  margin: 1rem 0;

  img {
    display: inline-block;
  }

  &.picture {
    text-align: center;
  }

  &.highlight {
    font-size: 0.875em;
  }
}

.grid-unit-width {
  &[class*="wfp-u-"] {
    padding-right: 0.5em;
    font-family: $mono-stack;
    text-align: right;
  }
}

.grid-unit-sample {
  background-color: $grey-lightest;
  min-height: 1.5em;
  margin-bottom: 0.25em;

  [class*="wfp-u-"] {
    background-color: $grey-light;
    color: $white;
  }
}

.content-nav {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.75em 1em;
  background-color: $grey-lightest;
  border-left: 6px solid $grey-light;<commit_msg>Limit code samples' display height<commit_after>// ==========================================================================
// WFP UI Docs Styles
// ==========================================================================

pre > code {
  background-color: initial;
}

figure {
  margin: 1rem 0;

  img {
    display: inline-block;
  }

  &.picture {
    text-align: center;
  }

  &.highlight {
    font-size: 0.875em;

    pre {
      max-height: 24em;
    }
  }
}

.grid-unit-width {
  &[class*="wfp-u-"] {
    padding-right: 0.5em;
    font-family: $mono-stack;
    text-align: right;
  }
}

.grid-unit-sample {
  background-color: $grey-lightest;
  min-height: 1.5em;
  margin-bottom: 0.25em;

  [class*="wfp-u-"] {
    background-color: $grey-light;
    color: $white;
  }
}

.content-nav {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.75em 1em;
  background-color: $grey-lightest;
  border-left: 6px solid $grey-light;
{'fraction_non_alphanumeric': 0.30598669623059865, 'fraction_numerical': 0.025498891352549888, 'mean_word_length': 3.1589861751152073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1322848', 'n_tokens_mistral': 703, 'n_tokens_neox': 626, 'n_words': 118}