]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: Fix wrong dark attribute in Table - Vertical Alignment (#33597)
authorPhilip Wedemann <22521688+hfhbd@users.noreply.github.com>
Wed, 14 Apr 2021 20:26:31 +0000 (22:26 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Apr 2021 20:26:31 +0000 (13:26 -0700)
* Fix wrong dark attribute

* Remove the outer table completely

Co-authored-by: Mark Otto <markd.otto@gmail.com>
site/content/docs/5.0/content/tables.md

index 3681e186ac0b9c105b23163e87b0dda07f5b32da..7ec00201bb6c8fbbb5777e7d4171f96be6738fbf 100644 (file)
@@ -290,31 +290,29 @@ Table cells of `<thead>` are always vertical aligned to the bottom. Table cells
 </div>
 
 ```html
-<table class="table table-sm table-dark">
-  <div class="table-responsive">
-    <table class="table align-middle">
-      <thead>
-        <tr>
-          ...
-        </tr>
-      </thead>
-      <tbody>
-        <tr>
-          ...
-        </tr>
-        <tr class="align-bottom">
-          ...
-        </tr>
-        <tr>
-          <td>...</td>
-          <td>...</td>
-          <td class="align-top">This cell is aligned to the top.</td>
-          <td>...</td>
-        </tr>
-      </tbody>
-    </table>
-  </div>
-</table>
+<div class="table-responsive">
+  <table class="table align-middle">
+    <thead>
+      <tr>
+        ...
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        ...
+      </tr>
+      <tr class="align-bottom">
+        ...
+      </tr>
+      <tr>
+        <td>...</td>
+        <td>...</td>
+        <td class="align-top">This cell is aligned to the top.</td>
+        <td>...</td>
+      </tr>
+    </tbody>
+  </table>
+</div>
 ```
 
 ## Nesting