]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Added parameter/mixin docs to text utilities
authorharry <harmanmanchanda182@gmail.com>
Sun, 12 Feb 2017 13:36:18 +0000 (19:06 +0530)
committerharry <harmanmanchanda182@gmail.com>
Sun, 12 Feb 2017 13:36:18 +0000 (19:06 +0530)
- overflow [prototype-text-overflow] Text Truncate

scss/prototype/_text-utilities.scss

index 074aa6e268e0f00a042870f507f636d11baadd28..a7bd9fa912c7c682a2993dccf76c5343529350bf 100644 (file)
@@ -14,6 +14,7 @@ $prototype-utilities-breakpoints: $global-prototype-breakpoints !default;
 /// @type String
 $prototype-text-overflow: ellipsis !default;
 
+/// Image Replacement utility. `text-hide`
 @mixin text-hide {
   font: 0/0 a;
   color: transparent;
@@ -22,6 +23,8 @@ $prototype-text-overflow: ellipsis !default;
   border: 0;
 }
 
+/// Truncating the text, elipsis by default.
+/// @param {String} $overflow [$prototype-text-overflow] Text Truncate
 @mixin text-truncate(
   $overflow: $prototype-text-overflow
 ) {
@@ -30,10 +33,12 @@ $prototype-text-overflow: ellipsis !default;
   white-space: nowrap;
 }
 
+/// No wrapping of the text. `text-nowrap`
 @mixin text-nowrap {
   white-space: nowrap;
 }
 
+/// Wrapping of the text. `text-wrap`
 @mixin text-wrap {
   word-wrap: break-word;
 }