-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with .table-bordered in a .panel #10492
Comments
Confirmed: http://jsfiddle.net/DNFfV/ |
The The issue is actually if a |
@supergibbs Only problem I saw was the rounded corners, which I just fixed for v3.1. |
@mdo Yes I that is the issue, I was just pointing out if the Slight bug in your commit, There is still the rare use case when the panel has no heading or body and is just used to add a colored rounded border. The table clips the top corners (if the first row has a background color). Not sure if this is supported though. |
Updated examples with my pull request |
- Made more generic. Applies to "> .table" and "> .table-responsive > .table" to support td/tr background colors too and not just .table-striped - Supports tfoot
…er on table cells in panels
…able" and "> .table-responsive > .table" to support td/tr background colors too and not just .table-striped - Supports tfoot
…er on table cells in panels
- Made more generic. Applies to "> .table" and "> .table-responsive > .table" to support td/tr background colors too and not just .table-striped - Supports tfoot
The new styles for using bordered tables in panels (without double bordering) are great! But I do have a couple of minor issues/enhancement requests. I would like to be able to wrap a bordered table in a panel with
.table-responsive
for scrolling purposes. Since the recently added css selectors use.panel>.table-bordered
, the new styles won't apply in such a case. Also, if the table uses the.table-striped
class and the last row is odd, then the table cell backgrounds clip over the panel border in the bottom corners.The text was updated successfully, but these errors were encountered: