renamed default variable in has-layout mixin to more appropriate name $approach

This commit is contained in:
B Mathis 2010-11-15 16:28:53 -06:00
parent 0e7bef6dbf
commit e6c28d81f7

View File

@ -8,14 +8,14 @@ $default-has-layout-approach: zoom !default;
// This mixin causes an element matching the selector
// to gain the "hasLayout" property in internet explorer.
// More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
@mixin has-layout($using: $default-has-layout-approach) {
@mixin has-layout($approach: $default-has-layout-approach) {
@if $legacy-support-for-ie {
@if $using == zoom {
@include has-layout-zoom;
} @else if $using == block {
} @else if $approach == block {
@include has-layout-block;
} @else {
@warn "Unknown has-layout approach: #{$using}";
@warn "Unknown has-layout approach: #{$approach}";
@include has-layout-zoom;
}
}