Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
073389ca
Commit
073389ca
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Rename .table-condensed to .table-sm
parent
1917b2d8
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
dist/css/bootstrap.css
+6
-6
dist/css/bootstrap.css
dist/css/bootstrap.css.map
+0
-0
dist/css/bootstrap.css.map
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
docs/components/tables.md
+3
-3
docs/components/tables.md
less/_tables.less
+2
-2
less/_tables.less
less/_variables.less
+2
-2
less/_variables.less
with
14 additions
and
14 deletions
+14
-14
dist/css/bootstrap.css
+
6
-
6
View file @
073389ca
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.css.map
-56 bytes (0%)
View file @
073389ca
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
073389ca
This diff is collapsed.
Click to expand it.
docs/components/tables.md
+
3
-
3
View file @
073389ca
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
less/_tables.less
+
2
-
2
View file @
073389ca
...
...
@@ -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;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
less/_variables.less
+
2
-
2
View file @
073389ca
...
...
@@ -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;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets