From 1aca9604015ea4d04ed52dacd5580e1c9c17a072 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 18 Mar 2012 15:18:01 -0700 Subject: [PATCH] Iterate on the doc changes for the reset-baseline mixin --- .../stylesheets/compass/typography/_vertical_rhythm.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss b/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss index 9ce0d8ab..accdfe21 100644 --- a/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +++ b/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)); }