<commit_before>@function contentWidth($num) {
  @if (unit($gutterWidth) == "%") {
    @return 100% * ($num/$columnsCount) - 2 * $gutterWidth;
  } @else {
    @return 100% * ($num/$columnsCount);
  }
}

@function contentWidthOffset($num) {
  @if (unit($gutterWidth) == "%") {
    @return 100% * ($num/$columnsCount) + 1 * $gutterWidth;
  } @else {
    @return 100% * ($num/$columnsCount);
  }
}

.grid-container {
  max-width: $gridWidth;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  letter-spacing: -16px;
  &:before, &:after {
    content: ".";
    display: block;
    overflow: hidden;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
    clear: both;
  }
}

.row {
  margin-right: -$gutterWidth;
  margin-left: -$gutterWidth;
  @include clearfix;
}

%grid-settings {
  #{$gutterType}-left: $gutterWidth;
  #{$gutterType}-right: $gutterWidth;
  display: inline-block;
  vertical-align: top;
  min-height: 1px;
  letter-spacing: 0;
  @include box-sizing(border-box);
}

%position-relative {
  position: relative;
}

@for $i from 1 through $columnsCount {
  $num: $i;
  .grid-#{$num} {
    @extend %grid-settings;
  }
  .push-#{$num}, .pull-#{$num} {
    @extend %position-relative;
  }
}

@for $i from 1 through $columnsCount {
  $num: $i;
  $contentWidth: contentWidth($num);
  $contentWidthOffset: contentWidthOffset($num);
  .grid-#{$num} { width: $contentWidth; }
  .prefix-#{$num} { #{$gutterType}-left: $contentWidthOffset; }
  .suffix-#{$num} { #{$gutterType}-right: $contentWidthOffset; }
  .push-#{$num} { left: $contentWidthOffset; }
  .pull-#{$num} { left: -$contentWidthOffset; }
}

/* DESKTOP SUPPORT */
<commit_msg>remove empty space between grid column<commit_after>@function contentWidth($num) {
  @if (unit($gutterWidth) == "%") {
    @return 100% * ($num/$columnsCount) - 2 * $gutterWidth;
  } @else {
    @return 100% * ($num/$columnsCount);
  }
}

@function contentWidthOffset($num) {
  @if (unit($gutterWidth) == "%") {
    @return 100% * ($num/$columnsCount) + 1 * $gutterWidth;
  } @else {
    @return 100% * ($num/$columnsCount);
  }
}

.grid-container {
  max-width: $gridWidth;
  margin-left: auto;
  margin-right: auto;
  font-size: 0;
}

.row {
  margin-right: -$gutterWidth;
  margin-left: -$gutterWidth;
}

%grid-settings {
  #{$gutterType}-left: $gutterWidth;
  #{$gutterType}-right: $gutterWidth;
  display: inline-block;
  vertical-align: top;
  min-height: 1px;
  font-size: 1rem;
  @include box-sizing(border-box);
}

%position-relative {
  position: relative;
}

@for $i from 1 through $columnsCount {
  $num: $i;
  .grid-#{$num} {
    @extend %grid-settings;
  }
  .push-#{$num}, .pull-#{$num} {
    @extend %position-relative;
  }
}

@for $i from 1 through $columnsCount {
  $num: $i;
  $contentWidth: contentWidth($num);
  $contentWidthOffset: contentWidthOffset($num);
  .grid-#{$num} { width: $contentWidth; }
  .prefix-#{$num} { #{$gutterType}-left: $contentWidthOffset; }
  .suffix-#{$num} { #{$gutterType}-right: $contentWidthOffset; }
  .push-#{$num} { left: $contentWidthOffset; }
  .pull-#{$num} { left: -$contentWidthOffset; }
}

/* DESKTOP SUPPORT */

{'fraction_non_alphanumeric': 0.19727675744141862, 'fraction_numerical': 0.013616212792906902, 'mean_word_length': 3.631964809384164, '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': '5896251', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1180, 'n_words': 232}