From 2659f0100cdc66e2623572883a21cf440a89e8a2 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sun, 19 Nov 2017 16:31:50 -0500 Subject: [PATCH] Use class table partial for display documentation --- docs/source/docs/display.blade.md | 107 ++++++++++++++---------------- 1 file changed, 49 insertions(+), 58 deletions(-) diff --git a/docs/source/docs/display.blade.md b/docs/source/docs/display.blade.md index a802df2c2..bb816e2ef 100644 --- a/docs/source/docs/display.blade.md +++ b/docs/source/docs/display.blade.md @@ -11,61 +11,52 @@ features: @include('_partials.work-in-progress') -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassPropertiesDescription
.blockdisplay: block;Set the box type of the element to block.
.inline-blockdisplay: inline-block;Set the box type of the element to inline-block.
.inlinedisplay: inline;Set the box type of the element to inline.
.tabledisplay: table;Set the box type of the element to table.
.table-rowdisplay: table-row;Set the box type of the element to table-row.
.table-celldisplay: table-cell;Set the box type of the element to table-cell.
.hiddendisplay: none;Set the box type of the element to none.
.flexdisplay: flex;Set the box type of the element to flex.
.inline-flexdisplay: inline-flex;Set the box type of the element to inline-flex.
-
+@include('_partials.class-table', [ + 'rows' => [ + [ + '.block', + 'display: block;', + "Set the box type of the element to block.", + ], + [ + '.inline-block', + 'display: inline-block;', + "Set the box type of the element to inline-block.", + ], + [ + '.inline', + 'display: inline;', + "Set the box type of the element to inline.", + ], + [ + '.table', + 'display: table;', + "Set the box type of the element to table.", + ], + [ + '.table-row', + 'display: table-row;', + "Set the box type of the element to table-row.", + ], + [ + '.table-cell', + 'display: table-cell;', + "Set the box type of the element to table-cell.", + ], + [ + '.hidden', + 'display: none;', + "Set the box type of the element to none.", + ], + [ + '.flex', + 'display: flex;', + "Set the box type of the element to flex.", + ], + [ + '.inline-flex', + 'display: inline-flex;', + "Set the box type of the element to inline-flex.", + ], + ] +])