Can someone explain to me why this is happening? I wrapped the contents inside the bootstrap boot divs and my table, which is inside this div, is wider than the container.
<div class="row"> <div class="col-md-4"> <table class="table"> <tbody> <% @user.each do |user| %> <tr> <td><%= user.content %></td> </tr> <% end %> </tbody> </table> </div> </div>
The problem is that if I have very large content with a lot of characters, the table becomes much wider than the container <div class="col-md-4"> . How to ensure that content is wrapped in a different line, rather than breaking the layout? Thanks for the help!
source share