From 7fced9373e2e4047f53cd49c4fc21eb49109a7a8 Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Mon, 12 Sep 2011 14:36:40 -0600 Subject: [PATCH] added detail to rhythm-border documentation. --- .../stylesheets/compass/typography/_vertical_rhythm.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss b/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss index ba733b26..79c15ec8 100644 --- a/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +++ b/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss @@ -149,7 +149,8 @@ $base-half-leader: $base-leader / 2; @include trailer($trailer, $font-size); } -// Apply a border width to any side without destroying the vertical rhythm +// Apply a border width to any side without destroying the vertical rhythm. +// The available space ($lines) must be greater than the width of your border. @mixin apply-side-rhythm-border($side, $width: 1px, $lines: 1, $font-size: $base-font-size, $border-style: $default-rhythm-border-style) { @if not $relative-font-sizing and $font-size != $base-font-size { @warn "$relative-font-sizing is false but a relative font size was passed to apply-side-rhythm-border";