]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove the table classes in favor of lists
authorMark Otto <markdotto@gmail.com>
Fri, 23 Dec 2016 19:56:27 +0000 (11:56 -0800)
committerMark Otto <markd.otto@gmail.com>
Sat, 24 Dec 2016 22:21:04 +0000 (14:21 -0800)
docs/utilities/flexbox.md

index a05c117e7f9fc12aad4012f526a8e5cc2c5f426c..6b3d87050ac8b4568bd76c809e5eaec75b94697e 100644 (file)
@@ -29,37 +29,6 @@ Responsive variations also exist for `.d-flex` and `.d-inline-flex`.
 - `.d{{ bp.abbr }}-flex`
 - `.d{{ bp.abbr }}-inline-flex`{% endfor %}
 
-<table class="table-responsive" hidden>
-  <thead>
-    <tr class="bg-faded">
-      <th>Class</th>
-      <th>Description</th>
-    </tr>
-  </thead>
-  <tbody>
-    {% for bp in site.data.breakpoints %}
-    <tr>
-      <td>
-        <code>.d{{ bp.abbr }}-flex</code>
-      </td>
-      <td>
-        Sets <code>display: flex;</code> on viewports {{ bp.min-width }} wide and up
-      </td>
-    </tr>
-    {% endfor %}
-    {% for bp in site.data.breakpoints %}
-    <tr>
-      <td>
-        <code>.d{{ bp.abbr }}-inline-flex</code>
-      </td>
-      <td>
-        Sets <code>display: inline-flex;</code> on viewports {{ bp.min-width }} wide and up
-      </td>
-    </tr>
-    {% endfor %}
-  </tbody>
-</table>
-
 ## Direction
 
 Set the direction of flex items in a flex container with direction utilities. In most cases you can omit the horizontal class here as the browser default is `row`. However, you may encounter situations where you needed to explicitly set this value (like responsive layouts).
@@ -90,37 +59,6 @@ Responsive variations also exist for `.flex-row` and `.flex-column`.
 - `.flex{{ bp.abbr }}-row`
 - `.flex{{ bp.abbr }}-column`{% endfor %}
 
-<table class="table-responsive" hidden>
-  <thead>
-    <tr class="bg-faded">
-      <th>Class</th>
-      <th>Description</th>
-    </tr>
-  </thead>
-  <tbody>
-    {% for bp in site.data.breakpoints %}
-    <tr>
-      <td>
-        <code>.flex{{ bp.abbr }}-row</code>
-      </td>
-      <td>
-        Sets <code>flex-direction: row;</code> on viewports {{ bp.min-width }} wide and up
-      </td>
-    </tr>
-    {% endfor %}
-    {% for bp in site.data.breakpoints %}
-    <tr>
-      <td>
-        <code>.flex{{ bp.abbr }}-column</code>
-      </td>
-      <td>
-        Sets <code>flex-direction: column;</code> on viewports {{ bp.min-width }} wide and up
-      </td>
-    </tr>
-    {% endfor %}
-  </tbody>
-</table>
-
 ## Wrap
 
 Change how flex items wrap in a flex container. Choose from no wrapping at all (the browser default) with `.flex-nowrap`, or enable wrapping with `.flex-wrap`.
@@ -170,34 +108,3 @@ Responsive variations also exist for `.flex-nowrap` and `.flex-wrap`.
 {% for bp in site.data.breakpoints %}
 - `.flex{{ bp.abbr }}-nowrap`
 - `.flex{{ bp.abbr }}-wrap`{% endfor %}
-
-<table class="table-responsive" hidden>
-  <thead>
-    <tr class="bg-faded">
-      <th>Class</th>
-      <th>Description</th>
-    </tr>
-  </thead>
-  <tbody>
-    {% for bp in site.data.breakpoints %}
-    <tr>
-      <td>
-        <code>.flex{{ bp.abbr }}-nowrap</code>
-      </td>
-      <td>
-        Sets <code>flex-wrap: nowrap;</code> on viewports {{ bp.min-width }} wide and up
-      </td>
-    </tr>
-    {% endfor %}
-    {% for bp in site.data.breakpoints %}
-    <tr>
-      <td>
-        <code>.flex{{ bp.abbr }}-wrap</code>
-      </td>
-      <td>
-        Sets <code>flex-wrap: wrap;</code> on viewports {{ bp.min-width }} wide and up
-      </td>
-    </tr>
-    {% endfor %}
-  </tbody>
-</table>