<commit_before>
.width-100pc {
  width: 100%;
}

.width-800px {
  width: 800px;
}

.gui-layout {
  display: grid;
  grid-auto-flow: row;
  align-items: baseline;
  grid-gap: $layout-vertical-spacing $layout-horizontal-spacing;
  
  margin-bottom: $layout-vertical-spacing;

  &.cols-1 {
    grid-template-columns: 1fr;
  }

  &.cols-1-1 {
    grid-template-columns: 1fr 1fr;
  }

  &.cols-1-2 {
    grid-template-columns: 1fr 2fr;
  }

  &.cols-1-3 {
    grid-template-columns: 1fr 3fr;
  }

  & .full-width {
    grid-column: auto / span 2;
  }
}

.gui-packed-row {
  display: flex;
  align-items: baseline;
  margin-bottom: $layout-vertical-spacing;

  & > * {
    margin-left: 0.5rem;
  }

  & > *:first-child {
    margin-left: 0;
  }

  & > .expand {
    flex-grow: 1;
  }

  & > .compact {
    flex-grow: 0;
  }
}<commit_msg>Prevent double margins when nesting gui-layouts and packed-rows<commit_after>
.width-100pc {
  width: 100%;
}

.width-800px {
  width: 800px;
}

.gui-layout {
  display: grid;
  grid-auto-flow: row;
  align-items: baseline;
  grid-gap: $layout-vertical-spacing $layout-horizontal-spacing;
  
  margin-bottom: $layout-vertical-spacing;

  &.cols-1 {
    grid-template-columns: 1fr;
  }

  &.cols-1-1 {
    grid-template-columns: 1fr 1fr;
  }

  &.cols-1-2 {
    grid-template-columns: 1fr 2fr;
  }

  &.cols-1-3 {
    grid-template-columns: 1fr 3fr;
  }

  & .full-width {
    grid-column: auto / span 2;
  }
}

.gui-packed-row {
  display: flex;
  align-items: baseline;
  margin-bottom: $layout-vertical-spacing;

  & > .gui-packed-row, & > .gui-layout {
    margin-bottom: 0px;
  }

  & > * {
    margin-left: 0.5rem;
  }

  & > *:first-child {
    margin-left: 0;
  }

  & > .expand {
    flex-grow: 1;
  }

  & > .compact {
    flex-grow: 0;
  }
}

.gui-layout > .gui-packed-row {
  margin-bottom: 0px;
}
{'fraction_non_alphanumeric': 0.17074497009244155, 'fraction_numerical': 0.03588907014681892, 'mean_word_length': 2.2798573975044563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '978150', 'n_tokens_mistral': 837, 'n_tokens_neox': 756, 'n_words': 129}