1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

Make it possible to change default alignment & allow to inherit alignment from table (#29039)

This commit is contained in:
Martijn Cuppens
2019-07-18 07:49:39 +02:00
committed by XhmikosR
parent 99676c7809
commit 62b8e84970
3 changed files with 44 additions and 1 deletions

View File

@@ -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;
}