From: XhmikosR Date: Sun, 16 Feb 2020 15:55:19 +0000 (+0200) Subject: tables.md: make vertical table responsive (#30191) X-Git-Tag: v5.0.0-alpha1~439 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90375b54332afe815f7169cbf042c59a8fb20e16;p=thirdparty%2Fbootstrap.git tables.md: make vertical table responsive (#30191) Fixes page overflow on mobile. Co-authored-by: Martijn Cuppens --- diff --git a/site/content/docs/4.3/content/tables.md b/site/content/docs/4.3/content/tables.md index cbbe8d6902..12aac11c93 100644 --- a/site/content/docs/4.3/content/tables.md +++ b/site/content/docs/4.3/content/tables.md @@ -401,36 +401,38 @@ Add `.table-sm` to make any `.table` more compact by cutting all cell `padding` Table cells of `` are always vertical aligned to the bottom. Table cells in `` inherit their alignment from `` and are aligned to the the top by default. {{< example >}} -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Heading 1Heading 2Heading 2Heading 4
This cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableNulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Vestibulum id ligula porta felis euismod semper.
This cell inherits vertical-align: bottom; from the table rowThis cell inherits vertical-align: bottom; from the table rowThis cell inherits vertical-align: bottom; from the table rowNulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Vestibulum id ligula porta felis euismod semper.
This cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableThis cell is aligned to the top.Nulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Vestibulum id ligula porta felis euismod semper.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Heading 1Heading 2Heading 2Heading 4
This cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableNulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Vestibulum id ligula porta felis euismod semper.
This cell inherits vertical-align: bottom; from the table rowThis cell inherits vertical-align: bottom; from the table rowThis cell inherits vertical-align: bottom; from the table rowNulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Vestibulum id ligula porta felis euismod semper.
This cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableThis cell is aligned to the top.Nulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Vestibulum id ligula porta felis euismod semper.
+
{{< /example >}} ### Variants