/*
For blocks of content with media beside them.
Adding overflow hidden changes the way the content interacts with the float
*/
/*
Apply it to the wrapper div
*/
@mixin media-block($position: left, $spacing:0, $media: '.media', $block: '.block') {
#{unquote($media)} {
float:$position;
@if $spacing > 0 {
margin-#{opposite-position($position)}:$spacing;
}
}
#{unquote($block)} {
overflow:hidden;
}
}