mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Rename .table-condensed to .table-sm
This commit is contained in:
parent
1917b2d870
commit
073389ca5e
12
dist/css/bootstrap.css
vendored
12
dist/css/bootstrap.css
vendored
@ -1442,12 +1442,12 @@ th {
|
||||
.table > tbody + tbody {
|
||||
border-top: 2px solid #eceeef;
|
||||
}
|
||||
.table-condensed > thead > tr > th,
|
||||
.table-condensed > tbody > tr > th,
|
||||
.table-condensed > tfoot > tr > th,
|
||||
.table-condensed > thead > tr > td,
|
||||
.table-condensed > tbody > tr > td,
|
||||
.table-condensed > tfoot > tr > td {
|
||||
.table-sm > thead > tr > th,
|
||||
.table-sm > tbody > tr > th,
|
||||
.table-sm > tfoot > tr > th,
|
||||
.table-sm > thead > tr > td,
|
||||
.table-sm > tbody > tr > td,
|
||||
.table-sm > tfoot > tr > td {
|
||||
padding: .3rem;
|
||||
}
|
||||
.table-bordered {
|
||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -254,12 +254,12 @@ Add `.table-hover` to enable a hover state on table rows within a `<tbody>`.
|
||||
</table>
|
||||
{% endexample %}
|
||||
|
||||
## Condensed table
|
||||
## Small table
|
||||
|
||||
Add `.table-condensed` to make tables more compact by cutting cell padding in half.
|
||||
Add `.table-sm` to make tables more compact by cutting cell padding in half.
|
||||
|
||||
{% example html %}
|
||||
<table class="table table-condensed">
|
||||
<table class="table table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -67,14 +67,14 @@ th {
|
||||
|
||||
// Condensed table w/ half padding
|
||||
|
||||
.table-condensed {
|
||||
.table-sm {
|
||||
> thead,
|
||||
> tbody,
|
||||
> tfoot {
|
||||
> tr {
|
||||
> th,
|
||||
> td {
|
||||
padding: @table-condensed-cell-padding;
|
||||
padding: @table-sm-cell-padding;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -125,8 +125,8 @@
|
||||
|
||||
//** Padding for `<th>`s and `<td>`s.
|
||||
@table-cell-padding: .75rem;
|
||||
//** Padding for cells in `.table-condensed`.
|
||||
@table-condensed-cell-padding: .3rem;
|
||||
//** Padding for cells in `.table-sm`.
|
||||
@table-sm-cell-padding: .3rem;
|
||||
|
||||
//** Default background color used for all tables.
|
||||
@table-bg: transparent;
|
||||
|
Loading…
Reference in New Issue
Block a user