File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 625625 * }
626626 */
627627
628- .masonry-column (@gut : @gutter , @flex : @flexbox ) {
628+ .masonry-column (@fraction : 1 of 1 , @ gut : @gutter , @flex : @flexbox ) {
629629 & when (@gut = 0 ) {
630- width : e (%(' calc(99.999999% * %s)' , @_fraction ));
630+ width : e (%(' calc(99.999999% * %s)' , @fraction ));
631631 }
632632 & when not (@gut = 0 ) {
633- width : e (%(' calc(99.99% * %s - %s)' , @_fraction , @gut ));
633+ width : e (%(' calc(99.99% * %s - %s)' , @fraction , @gut ));
634634 }
635635 & when (@flex = true ) {
636636 flex : 0 0 auto ;
Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ $flexbox: false !default;
628628/// @include masonry-column('1/3');
629629/// }
630630
631- @mixin masonry-column ($gut : $gutter , $flex : $flexbox ) {
631+ @mixin masonry-column ($fraction : ' 1/1 ' , $ gut : $gutter , $flex : $flexbox ) {
632632 @if ($flex == true) {
633633 flex : 0 0 auto ;
634634 }
Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ masonry-wrap($gut = $gutter, $flex = $flexbox)
479479 * masonry-column('1/3')
480480 */
481481
482- masonry-column ($gut = $gutter , $flex = $flexbox )
482+ masonry-column ($fraction = '1/1' , $ gut = $gutter , $flex = $flexbox )
483483 _get-size ()
484484 if $gut is 0
485485 return s ('calc(99.999999% * %s)' , unquote ($fraction ))
You can’t perform that action at this time.
0 commit comments