I have table the when text is long it's going out of table:
here the code
<div class="modal-body" style="word-wrap: break-word;">
  <table id="foldersTable" class="table-hover" style=" border-collapse: collapse;   table-layout: fixed; ">
    <tbody>
      <tr style="  word-wrap: break-word;">
        <td style="word-break:  break-word;"><i style="margin-right: 8px;" class="fa fa-folder"></i>
          <h2>aa</h2>
        </td>
      </tr>
      <tr style="  word-wrap: break-word;">
        <td style="word-break:  break-word;"><i style="margin-right: 8px;" class="fa fa-folder"></i>
          <h2>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</h2>
        </td>
      </tr>
      <tr style="  word-wrap: break-word;">
        <td style="word-break:  break-word;"><i style="margin-right: 8px;" class="fa fa-folder"></i>
          <h2>b</h2>
        </td>
      </tr>
      <tr style="  word-wrap: break-word;">
        <td style="word-break:  break-word;"><i style="margin-right: 8px;" class="fa fa-folder"></i>
          <h2>cc</h2>
        </td>
      </tr>
    </tbody>
  </table>
</div>
 
     
    