diff options
| author | Mark Otto <[email protected]> | 2013-08-18 11:08:20 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-18 11:08:20 -0700 |
| commit | ef4590dfb461036c915d8fbc5b6fbf3ad7ba9c86 (patch) | |
| tree | 241c8bbe9dd2130de943f6fb8fdef7c1beeff478 /less | |
| parent | 3c1d951d2948f418ab83a592634a1aa52e34c09b (diff) | |
| download | bootstrap-ef4590dfb461036c915d8fbc5b6fbf3ad7ba9c86.tar.xz bootstrap-ef4590dfb461036c915d8fbc5b6fbf3ad7ba9c86.zip | |
fixes #9786: enable tables in panels
Diffstat (limited to 'less')
| -rw-r--r-- | less/panels.less | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/less/panels.less b/less/panels.less index 9d1b21389..e39fa3adf 100644 --- a/less/panels.less +++ b/less/panels.less @@ -18,12 +18,16 @@ .clearfix(); } + // List groups in panels // // By default, space out list group content from panel headings to account for // any kind of custom content between the two. .panel { + > .table { + margin-bottom: 0; + } > .list-group { margin-bottom: 0; @@ -48,6 +52,22 @@ } } + +// Tables in panels +// +// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and +// watch it go full width. + +.panel { + > .table { + margin-bottom: 0; + } + > .panel-body + .table { + border-top: 1px solid @table-border-color; + } +} + + // Optional heading .panel-heading { padding: 10px 15px; |
