Skip to content
Browse files

Iterate on the doc changes for the reset-baseline mixin

  • Loading branch information...
1 parent 3f96108 commit 1aca9604015ea4d04ed52dacd5580e1c9c17a072 @chriseppstein chriseppstein committed Mar 18, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss
View
7 frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss
@@ -67,8 +67,11 @@ $base-half-leader: $base-leader / 2;
}
}
-// Resets the line-height to 1 vertical rhythm unit. Does not work in all
-// circumstances.
+// Resets the line-height to 1 vertical rhythm unit.
+// Does not work on elements whose font-size is different from $base-font-size.
+//
+// @deprecated This mixin will be removed in the next release.
+// Please use the `adjust-leading-to` mixin instead.
@mixin reset-baseline {
@include adjust-leading-to(1, if($relative-font-sizing, $base-font-size, $base-font-size));
}

0 comments on commit 1aca960

Please sign in to comment.
Something went wrong with that request. Please try again.