-
-
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
table-responsive class does not take full width #24638
Comments
simple solution, use a wrapping <div class="table-responsive">
<table class="table"></table>
</div> |
OK, but why doesn't the documentation example need that? |
good question .... this is the display block in .table-responsive and yes the table not take full width... |
In the documentation examples, the reason it appears to "work" is that there is enough content in the table to force it to full width inside the container. Remove a few columns in the example table and you will see that it doesn't span full width. |
true |
+1 to get the documentation updated, please! |
Is it definitely the intention that the table-responsive class not be put on a table any more? Or is that just a workaround? Cos it seems a bit weird. |
It seems we should have to wait for the next release. |
One other caveat with placing When a |
Stylistically I've preferred the narrower tables on larger screens, and I've stated it's intentional. However, for the a11y reason alone, we'll fix this up. |
-table-responsive class does not take full width link:twbs/bootstrap#24638
THANKS MAN |
@browner12 Nope not doing it for me. Any other ideas? Note that the div and the table when view with inspector are 100% but the thead and tbody are not |
Thanks
…On Fri, Jun 10, 2022 at 1:15 AM dsm-72 ***@***.***> wrote:
@browner12 <https://github.com/browner12> Nope not doing it for me. Any
other ideas? Note that the div and the table when view with inspector are
100% but the thead and tbody are not
—
Reply to this email directly, view it on GitHub
<#24638 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK52KCXDFVPVCHSX26B22LDVOJCUNANCNFSM4EB2VT7Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This does not work if table-responsive div is inside a table's td. Any solution?? Please suggest me. Thanks. |
This was previously reported in #24256, which was closed after #24438 was merged. However, that merge was only documentation, and the issue doesn't actually appear to be fixed in Beta 2.
A table with the
table-responsive
class will not render at full width. I'm not sure why it works in the example in the docs, but this codepen demonstrates that the issue still persists.The issue occurs on both Firefox 58 and Chrome 62.
The text was updated successfully, but these errors were encountered: