<commit_before>.topics-show {
  @include media(desktop){
    .block-2 {
      width: 33%;
      float: left;
    }
    .block-3 {
      width: 66%;
      float: left;
    }
    .block-4 {
      padding-top: $gutter;
      clear: both;
    }
    .block-6 {
      padding-top: $gutter;
      @extend %contain-floats;
    }
  }
  .block {
    margin-bottom: $gutter;
  }



  .page-header {
    @extend %contain-floats;
    padding: $gutter-half 0 0;
    
    @include media(tablet){
      padding: $gutter*1.5 0 0;
    }

    h1 {
      @include media(tablet) {
        width: 75%;
        float: left;
      }
      
      .label {
        display: block;
        @include light;
        padding-bottom: 0;
      }
      
      .topic {
        display: block;
        @include bold;
      }
    }
    .meta {      
      margin-top: $gutter;

      @include media(tablet) {
        float: right;
        width: 25%;
        padding: 0;

        .organisations-icon-list {
          margin-left: $gutter-half;
        }
        .show-other-content {
          margin-left: $gutter-two-thirds;
        }
      }
    }
  }

  .latest-documents {
    header {
      @extend %contain-floats;

      h1 {
        @include core-27;
        float: left;
      }
      .subscribe {
        float: left;
        margin-left: $gutter-half;
        padding-top: 8px;
      }
    }
    .document-list {
      margin-top: 0;
      clear: both;

      .document-row {
        @include core-14;
        border-bottom: none;

        th {
          @include core-14;
          margin: $gutter-one-third 0 0 0;
          padding: 0;
        }

        td {
          margin: 0;
          padding: 0 $gutter-one-third 0 0;
        }
      }
    }
  }

  .what,
  .policies,
  .elsewhere {
    h1 {
      @include core-27;
    }
  }

  .what {
    .govspeak {
      p {
        @include core-24;
        margin: 0;
      }
    }
  }
      
  .collection-list {
    padding-top: $gutter-two-thirds;
    .collection-item h2 {
      @include core-24;
      margin-bottom: $gutter-one-sixth;
    }
  }

  .elsewhere {
    clear: both;
    margin: 0 (-$gutter-half);

    h1 {
      padding-left: $gutter-half;
      margin-bottom: $gutter-half;
    }

    .title-block {
      float: left;
      width: 50%;

      h1 {
        padding-left: 0;
        border-bottom: 1px solid $light-keyline;
      }

      .content {
        padding: 0 $gutter-half;

        li {
          list-style: none;
          @include core-16;
        }
      }
    }
  }

}<commit_msg>Stop related content floating on small screens<commit_after>.topics-show {
  @include media(desktop){
    .block-2 {
      width: 33%;
      float: left;
    }
    .block-3 {
      width: 66%;
      float: left;
    }
    .block-4 {
      padding-top: $gutter;
      clear: both;
    }
    .block-6 {
      padding-top: $gutter;
      @extend %contain-floats;
    }
  }
  .block {
    margin-bottom: $gutter;
  }



  .page-header {
    @extend %contain-floats;
    padding: $gutter-half 0 0;
    
    @include media(tablet){
      padding: $gutter*1.5 0 0;
    }

    h1 {
      @include media(tablet) {
        width: 75%;
        float: left;
      }
      
      .label {
        display: block;
        @include light;
        padding-bottom: 0;
      }
      
      .topic {
        display: block;
        @include bold;
      }
    }
    .meta {      
      margin-top: $gutter;

      @include media(tablet) {
        float: right;
        width: 25%;
        padding: 0;

        .organisations-icon-list {
          margin-left: $gutter-half;
        }
        .show-other-content {
          margin-left: $gutter-two-thirds;
        }
      }
    }
  }

  .latest-documents {
    header {
      @extend %contain-floats;

      h1 {
        @include core-27;
        float: left;
      }
      .subscribe {
        float: left;
        margin-left: $gutter-half;
        padding-top: 8px;
      }
    }
    .document-list {
      margin-top: 0;
      clear: both;

      .document-row {
        @include core-14;
        border-bottom: none;

        th {
          @include core-14;
          margin: $gutter-one-third 0 0 0;
          padding: 0;
        }

        td {
          margin: 0;
          padding: 0 $gutter-one-third 0 0;
        }
      }
    }
  }

  .what,
  .policies,
  .elsewhere {
    h1 {
      @include core-27;
    }
  }

  .what {
    .govspeak {
      p {
        @include core-24;
        margin: 0;
      }
    }
  }
      
  .collection-list {
    padding-top: $gutter-two-thirds;
    .collection-item h2 {
      @include core-24;
      margin-bottom: $gutter-one-sixth;
    }
  }

  .elsewhere {
    clear: both;
    margin: 0 (-$gutter-half);

    h1 {
      padding-left: $gutter-half;
      margin-bottom: $gutter-half;
    }

    .title-block {
      @include media(tablet) {
        float: left;
        width: 50%;
      }

      h1 {
        padding-left: 0;
        border-bottom: 1px solid $light-keyline;
      }

      .content {
        padding: 0 $gutter-half;

        li {
          list-style: none;
          @include core-16;
        }
      }
    }
  }

}
{'fraction_non_alphanumeric': 0.1273749515316014, 'fraction_numerical': 0.022101589763474216, 'mean_word_length': 1.2246658042259595, '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': '3100728', 'n_tokens_mistral': 1914, 'n_tokens_neox': 1784, 'n_words': 354}