From 91fc6d75c2ea6a83ac03a40f22bbbf800ee1d45a Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sun, 19 Nov 2017 16:08:47 -0500 Subject: [PATCH] Use class table for float docs --- docs/source/docs/floats.blade.md | 63 ++++++++++++-------------------- 1 file changed, 24 insertions(+), 39 deletions(-) diff --git a/docs/source/docs/floats.blade.md b/docs/source/docs/floats.blade.md index 4ede9a383..87d0548e4 100644 --- a/docs/source/docs/floats.blade.md +++ b/docs/source/docs/floats.blade.md @@ -11,42 +11,27 @@ features: @include('_partials.work-in-progress') -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassPropertiesDescription
.float-rightfloat: right;Moves the element to the right side of its container.
.float-leftfloat: left;Moves the element to the left side of its container.
.float-nonefloat: none;Removes any previously defined float value.
.clearfix - &:after {
-   content: "";
-   display: table;
-   clear: both;
- } -
Clear any floats within an element.
-
+@include('_partials.class-table', [ + 'rows' => [ + [ + '.float-right', + 'float: right;', + "Moves the element to the right side of its container.", + ], + [ + '.float-left', + 'float: left;', + "Moves the element to the left side of its container.", + ], + [ + '.float-none', + 'float: none;', + "Removes any previously defined float value.", + ], + [ + '.clearfix', + "&::after {\n  content: \"\";\n  display: table;\n  clear: both;\n}", + "Clear any floats within an element.", + ], + ] +])