Skip to content

Commit

Permalink
Fixes #11553: Prevent double border on tables in panels without thead…
Browse files Browse the repository at this point in the history
… content
  • Loading branch information
mdo committed Nov 28, 2013
1 parent 9f68a5b commit c13524e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5585,6 +5585,11 @@ a.list-group-item.active:focus .list-group-item-text {
border-top: 1px solid #dddddd;
}

.panel > .table > tbody:first-child th,
.panel > .table > tbody:first-child td {
border-top: 0;
}

.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
border: 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions less/panels.less
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
> .panel-body + .table-responsive {
border-top: 1px solid @table-border-color;
}
> .table > tbody:first-child th,
> .table > tbody:first-child td {
border-top: 0;
}
> .table-bordered,
> .table-responsive > .table-bordered {
border: 0;
Expand Down

0 comments on commit c13524e

Please sign in to comment.