Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for grid mixin $float:right #2114

Merged
merged 1 commit into from

2 participants

@ascottmccauley

This fixes the problem where all @include grid-columns would float left even if $float:right was declared.

@ascottmccauley ascottmccauley Fix for grid mixin $float:right
This fixes the problem where all @include grid-columns would float left even if $float:right was declared.
1c811d8
@hatefulcrawdad hatefulcrawdad merged commit 97abca7 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2013
  1. @ascottmccauley

    Fix for grid mixin $float:right

    ascottmccauley authored
    This fixes the problem where all @include grid-columns would float left even if $float:right was declared.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  scss/foundation/components/_grid.scss
View
2  scss/foundation/components/_grid.scss
@@ -92,7 +92,7 @@ $total-columns: 12 !default;
}
@if $float {
- @if $float == left or true { float: $default-float; }
+ @if $float == left or $float == true { float: $default-float; }
@else if $float == right { float: $opposite-direction; }
@else { float: none; }
}
Something went wrong with that request. Please try again.