app/assets/stylesheets/alignment/_overflow.scss in patterns-0.1.4 vs app/assets/stylesheets/alignment/_overflow.scss in patterns-0.1.5
- old
+ new
@@ -1,10 +1,19 @@
@mixin overflow_left_container {
@include clearfix;
- & > :first-child { float: right; }
- & > * { overflow: hidden; }
+ & > :first-child {
+ float: right;
+ & + * {
+ overflow: hidden;
+ }
+ }
}
@mixin overflow_right_container {
@include clearfix;
- & > :first-child { float: left; }
- & > * { overflow: hidden; }
+ & > :first-child {
+ float: left;
+
+ & + * {
+ overflow: hidden;
+ }
+ }
}
\ No newline at end of file