<commit_before>.sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  min-height: 100vh;

  text-align: right;

  font-family: @font-family-title;
  font-weight: @font-weight__title-normal;
}

.sidebar__header {
  align-self: stretch;
}

.sidebar__section-title {
  display: none;
}

.sidebar__content {
  padding: 1.5rem;
  width: @sidebar-width;

  // used for more colour for clip path at bottom
  padding-bottom: 5em;

  color: @palette-secondary-stroke;
  background-color: @palette-secondary-background;

  clip-path: polygon(
    0.7em 2.9em,
    1.8em 1em,
    calc(100% - 1em) 0.4em,
    calc(100% - 0.2em) 2.8em,
    calc(100% - 0.5em) calc(100% - 4em),
    calc(100% - 3rem) calc(100% - 1em),
    4.4em calc(100% - 1.5em),
    2em calc(100% - 3.6em)
  );
}

.sidebar__aside {

  margin-top: 1.5rem;

  font-weight: @font-weight__title-normal;

  font-size: 0.8rem;
  padding-left: 20%;

  line-height: @line-height;

  p {
    margin-top: 0.5rem;
    transform: rotate(5deg);
    transform-origin: right;
  }
}

@media (max-width: @mobile-breakpoint) {
  .sidebar {
    position: static;

    height: auto;
    min-height: unset;
    width: 100%;

    margin: 0;
    padding: 0;
  }

  .sidebar__content {
    width: 100%;
    display: none;
  }

  .sidebar__content--open-nav {
    display: block;
    margin: 0;
    padding: 2em;
    padding-bottom: 3em;
  }

  .sidebar__aside {
    display: none;
  }<commit_msg>Stop menu from being full-width on mobile<commit_after>.sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  min-height: 100vh;

  text-align: right;

  font-family: @font-family-title;
  font-weight: @font-weight__title-normal;
}

.sidebar__header {
  align-self: stretch;
}

.sidebar__section-title {
  display: none;
}

.sidebar__content {
  padding: 1.5rem;
  width: @sidebar-width;

  // used for more colour for clip path at bottom
  padding-bottom: 5em;

  color: @palette-secondary-stroke;
  background-color: @palette-secondary-background;

  clip-path: polygon(
    0.7em 2.9em,
    1.8em 1em,
    calc(100% - 1em) 0.4em,
    calc(100% - 0.2em) 2.8em,
    calc(100% - 0.5em) calc(100% - 4em),
    calc(100% - 3rem) calc(100% - 1em),
    4.4em calc(100% - 1.5em),
    2em calc(100% - 3.6em)
  );
}

.sidebar__aside {

  margin-top: 1.5rem;

  font-weight: @font-weight__title-normal;

  font-size: 0.8rem;
  padding-left: 20%;

  line-height: @line-height;

  p {
    margin-top: 0.5rem;
    transform: rotate(5deg);
    transform-origin: right;
  }
}

@media (max-width: @mobile-breakpoint) {
  .sidebar {
    position: static;

    height: auto;
    min-height: unset;
    width: 100%;

    margin: 0;
    padding: 0;
  }

  .sidebar__content {
    display: none;
    width: auto;
  }

  .sidebar__content--open-nav {
    display: block;
    margin-left: auto;
    margin-right: 0.5em;
    padding: 2em;
    padding-left: 3em;
    padding-bottom: 3em;
  }

  .sidebar__aside {
    display: none;
  }
{'fraction_non_alphanumeric': 0.14772727272727273, 'fraction_numerical': 0.050467914438502674, 'mean_word_length': 2.6322815533980584, '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': '7533385', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1155, 'n_words': 246}