Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2019-07-18 08:49:39 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-07-18 08:49:39 +0300
commit62b8e849701ed35ada121b0c7060641ee93bb896 (patch)
tree551de723236704f8ef60391e8a564a12f97d782f /scss/_tables.scss
parent99676c780963d3cfe671294a776b738bb4876480 (diff)
Make it possible to change default alignment & allow to inherit alignment from table (#29039)
Diffstat (limited to 'scss/_tables.scss')
-rw-r--r--scss/_tables.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss
index d1fbdc21d2..20177384b5 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -6,15 +6,19 @@
width: 100%;
margin-bottom: $spacer;
color: $table-color;
+ vertical-align: $table-cell-vertical-align;
background-color: $table-bg; // Reset for nesting within parents with `background-color`.
th,
td {
padding: $table-cell-padding;
- vertical-align: top;
border-bottom: $table-border-width solid $table-border-color;
}
+ tbody {
+ vertical-align: inherit;
+ }
+
td {
border-bottom: $table-border-width solid $table-border-color;
}