Skip to content

Commit

Permalink
Added border radiuses to table when in a panel. Fixes twbs#12461
Browse files Browse the repository at this point in the history
  • Loading branch information
supergibbs committed Feb 5, 2014
1 parent 7eb5322 commit 08ff305
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
10 changes: 10 additions & 0 deletions dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/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 @@ -72,6 +72,8 @@
// Add border top radius for first one
> .table:first-child,
> .table-responsive:first-child > .table:first-child {
.border-top-radius((@panel-border-radius - 1));

> thead:first-child,
> tbody:first-child {
> tr:first-child {
Expand All @@ -89,6 +91,8 @@
// Add border bottom radius for last one
> .table:last-child,
> .table-responsive:last-child > .table:last-child {
.border-bottom-radius((@panel-border-radius - 1));

> tbody:last-child,
> tfoot:last-child {
> tr:last-child {
Expand Down

0 comments on commit 08ff305

Please sign in to comment.