0

In Rails, I have a table with four columns. I want two of the columns to essentially never break if at all possible. I want the other columns to shrink and continue breaking while these two remain the same. Currently, shrinking my window simply causes all of the columns to break at the same time and shrink the table to half its size, and it ends up much smaller than the screen. I've tried using col-sm-2, col-md-2, etc. but these aren't changing the breakpoint for me at all. Essentially my issue is that all of my columns break at the same point, which is behavior I do not want

1 Answers1

0

I think, that's css related, not rails. Anyway, Try with white-space: nowrap;

similar SO questions:

How to prevent line breaks in list items using CSS

Disable line breaks using CSS

Community
  • 1
  • 1
Stan Brajewski
  • 452
  • 2
  • 5