0

Working on this todolist. https://jsfiddle.net/n6j8Lrmy/

So, the problem I'm encountering is when I add a new todo with a new table. If the description or any cell is too long, it's gonna overflow into the next cell.

How can I make it so that when the text is too long, it goes on the next line but it doesn't distort the positioning of table heads or other cells?

<table class="table table-dark">
  <thead>
    <tr>
      <th scope="col">Title</th>
      <th scope="col">Priority</th>
      <th scope="col">Description</th>
      <th scope="col">Date</th>
      <th scope="col">Remove</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">Do HomeWork</th>
      <td>5</td>
      <td>Do math homework</td>
      <td>15-01-2020</td>
      <td>X</td>
    </tr>
  </tbody>
</table>
Frazer
  • 1,049
  • 1
  • 10
  • 16
octaviandd
  • 169
  • 2
  • 19

0 Answers0