<commit_before>// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

////
/// @group media-object
////

/// Bottom margin of a media object.
/// @type Number
$mediaobject-margin-bottom: $global-margin !default;

/// Left and right padding on sections within a media object.
/// @type Number
$mediaobject-section-padding: $global-padding !default;

/// Width of images within a media object, when the object is stacked vertically. Set to 'auto' to use the image's natural width.
/// @type Number
$mediaobject-image-width-stacked: 100% !default;

/// Adds styles for a media object container.
@mixin media-object-container {
  display: if($global-flexbox, flex, block);
  margin-bottom: $mediaobject-margin-bottom;

  @if $global-flexbox {
    flex-wrap: nowrap;
  }

  img {
    max-width: none;
  }

  @if $global-flexbox {
    &.stack-for-#{$-zf-zero-breakpoint} {
      @include breakpoint($-zf-zero-breakpoint only) {
        flex-wrap: wrap;
      }
    }
  }
}

/// Adds styles for sections within a media object.
/// @param {Number} $padding [$mediaobject-section-padding] - Padding between sections.
@mixin media-object-section($padding: $mediaobject-section-padding) {
  @if $global-flexbox {
    flex: 0 1 auto;
  }
  @else {
    display: table-cell;
    vertical-align: top;
  }

  &:first-child {
    padding-#{$global-right}: $padding;
  }

  &:last-child:not(:nth-child(2)) {
    padding-#{$global-left}: $padding;
  }

  > :last-child {
    margin-bottom: 0;
  }

  .stack-for-#{$-zf-zero-breakpoint} & {
    @include breakpoint($-zf-zero-breakpoint only) {
      @include media-object-stack;
    }
  }

  @if $global-flexbox {
    &.main-section {
      flex: 1 1 0px; // sass-lint:disable-line zero-unit
    }
  }
  @else {
    &.middle {
      vertical-align: middle;
    }

    &.bottom {
      vertical-align: bottom;
    }
  }
}
<commit_msg>fix: prevent side-effect from .stack-for in media-object<commit_after>// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

////
/// @group media-object
////

/// Bottom margin of a media object.
/// @type Number
$mediaobject-margin-bottom: $global-margin !default;

/// Left and right padding on sections within a media object.
/// @type Number
$mediaobject-section-padding: $global-padding !default;

/// Width of images within a media object, when the object is stacked vertically. Set to 'auto' to use the image's natural width.
/// @type Number
$mediaobject-image-width-stacked: 100% !default;

/// Adds styles for a media object container.
@mixin media-object-container {
  display: if($global-flexbox, flex, block);
  margin-bottom: $mediaobject-margin-bottom;

  @if $global-flexbox {
    flex-wrap: nowrap;
  }

  img {
    max-width: none;
  }

  @if $global-flexbox {
    &.stack-for-#{$-zf-zero-breakpoint} {
      @include breakpoint($-zf-zero-breakpoint only) {
        flex-wrap: wrap;
      }
    }
  }

  &.stack-for-#{$-zf-zero-breakpoint} .media-object-section {
    @include breakpoint($-zf-zero-breakpoint only) {
      @include media-object-stack;
    }
  }
}

/// Adds styles for sections within a media object.
/// @param {Number} $padding [$mediaobject-section-padding] - Padding between sections.
@mixin media-object-section($padding: $mediaobject-section-padding) {
  @if $global-flexbox {
    flex: 0 1 auto;
  }
  @else {
    display: table-cell;
    vertical-align: top;
  }

  &:first-child {
    padding-#{$global-right}: $padding;
  }

  &:last-child:not(:nth-child(2)) {
    padding-#{$global-left}: $padding;
  }

  > :last-child {
    margin-bottom: 0;
  }

  @if $global-flexbox {
    &.main-section {
      flex: 1 1 0px; // sass-lint:disable-line zero-unit
    }
  }
  @else {
    &.middle {
      vertical-align: middle;
    }

    &.bottom {
      vertical-align: bottom;
    }
  }
}

{'fraction_non_alphanumeric': 0.15396578538102643, 'fraction_numerical': 0.005184033177812338, 'mean_word_length': 2.6822519083969465, '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': '6868629', 'n_tokens_mistral': 1347, 'n_tokens_neox': 1296, 'n_words': 321}