Skip to content
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

Chrome in flex mode col-* affect table column width wrong #21547

Closed
andyyou opened this issue Jan 5, 2017 · 3 comments
Closed

Chrome in flex mode col-* affect table column width wrong #21547

andyyou opened this issue Jan 5, 2017 · 3 comments
Labels

Comments

@andyyou
Copy link

andyyou commented Jan 5, 2017

Is this a Not recommended way or a bug I am not quite sure but case description as follow:

In bootstrap 3, I usually use col-{size}-* to adjust width of table column let's say I want some column always get more widely. Like Example & Codepen

In bootstrap 4 alpha.5 that enable flex ability case, when I do the same thing. Flexbox example

  • Firefox v50.1 is work fine and same behavior.

  • But Chrome v55.0.2883.95

For this case I just modify col-{size}-*'s css property that max-width to width can work quite fine, But I am not sure this is a good way to do or cause other problem.

@mdo
Copy link
Member

mdo commented Jan 25, 2017

You'll need to do further modification if you wish to use these (now) flex styles with tables. I don't advise that overall though as it adds a ton of overrides to undo the table styles. I'd would recommend creating new styles as needed for specifying column widths in tables.

@mdo mdo closed this as completed Jan 25, 2017
@stanleyxu2005
Copy link

I met the same problem. So table with responsive column width is no longer supported in Bootstrap 4?

@SrAxi
Copy link

SrAxi commented Aug 31, 2017

Has this issue been addressed? Or we still have to override BS's classes with our own in order to set columns width? Thanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants