mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 22:41:20 +02:00
Make it possible to change default alignment & allow to inherit alignment from table (#29039)
This commit is contained in:
committed by
XhmikosR
parent
99676c7809
commit
62b8e84970
@@ -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;
|
||||
}
|
||||
|
@@ -355,6 +355,8 @@ $hr-margin-y: $spacer !default;
|
||||
$table-cell-padding: .5rem !default;
|
||||
$table-cell-padding-sm: .25rem !default;
|
||||
|
||||
$table-cell-vertical-align: top !default;
|
||||
|
||||
$table-color: $body-color !default;
|
||||
$table-bg: null !default;
|
||||
$table-accent-bg: rgba($black, .05) !default;
|
||||
|
Reference in New Issue
Block a user