From ac6a982d57d4db052862105f3bc81a86b9634487 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Mon, 5 Dec 2016 10:41:14 +0100 Subject: [PATCH] Improve -zf-breakpoint-value description --- scss/util/_mixins.scss | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scss/util/_mixins.scss b/scss/util/_mixins.scss index 5aed84d0d..8959ebdf0 100644 --- a/scss/util/_mixins.scss +++ b/scss/util/_mixins.scss @@ -243,12 +243,11 @@ } } -/// Generate the content passed to the mixin with a value `$-zf-bp-value` related to a breakpoint, depending on the `$name` parameter. -/// @param {Number|Keyword} $name [auto] -/// The $name parameter accepts multiple values: -/// - A single value will be directly passed as `$-zf-bp-value` to the mixin content. -/// - A breakpoint name will make `$-zf-bp-value` the corresponding value in `$map`. -/// - "auto" will generate the mixin content for each breakpoint in `$map` with the corresponding value as `$-zf-bp-value`. +/// Generate the `@content` passed to the mixin with a value `$-zf-bp-value` related to a breakpoint, depending on the `$name` parameter: +/// - For a single value, `$-zf-bp-value` is this value. +/// - For a breakpoint name, `$-zf-bp-value` is the corresponding breakpoint value in `$map`. +/// - For "auto", `$-zf-bp-value` is the corresponding breakpoint value in `$map` and is passed to `@content`, which is made responsive for each breakpoint of `$map`. +/// @param {Number|Keyword} $name [auto] - Single value or breakpoint name to use. "auto" by default. /// @param {Number|Map} $map - Map of breakpoints and values or single value to use. @mixin -zf-breakpoint-value( $name: auto, -- 2.47.2