Skip to content

Commit

Permalink
Use pull request foundation#10842 from ncoden/fix/media-object-custom…
Browse files Browse the repository at this point in the history
…-component for v6.5.0

ee3399b Revert "fix: prevent side-effect from .stack-for in media-object"

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
  • Loading branch information
ncoden committed Jun 16, 2018
1 parent e7b4208 commit 2d26d1a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scss/components/_media-object.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ $mediaobject-image-width-stacked: 100% !default;
}
}
}

&.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.
Expand All @@ -69,6 +63,12 @@ $mediaobject-image-width-stacked: 100% !default;
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
Expand Down

0 comments on commit 2d26d1a

Please sign in to comment.