-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Document that table styles will be inherited by nested tables #20497
Comments
Hi @simPod! You appear to have posted a live example (http://codepen.io/simPod/pen/wWRgzN.html), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
this bot is nice. Fixed example |
So, we need to document this better, but this is working as intended. Per http://v4-alpha.getbootstrap.com/migration/#tables (emphasis added):
|
Very well then. So the proper usage is to put |
How are we supposed to reset an inner table styles? The opt-in approach is great and I'd love to opt-in to sub tables instead of them being the same as the parent. This kills any datepicker inside a table. |
Using v4.0.0 alpha3
The problem appears, when inside any
<th>
in<thead class="thead-inverse">
is another table inserted.Therefore
thead-inverse th
rule is also applied on the inner table. Wouldn't it be better to have more specificthead-inverse > tr > th
rule? Or am I missing something?http://codepen.io/simPod/pen/wWRgzN
The text was updated successfully, but these errors were encountered: