I know my question looks pretty similar to this one: How to prevent text in a table cell from wrapping that was the first one I checked.
I have a table where I'll be writting a long description in one column, and a date in the next colum. Browser thinks is super cool to wrap the columns with dates, since they are strings separated with dashes anyway. Currently I have something like:
| Description                | Date     |
|----------------------------|----------|
| This is a really long      | 2022-10- |
| description cell with many | 12       |
| lines...                   |          |
How can I tell the browser I want my description cell a bit shorter and the Date column not to wrap. In the solution I read it said you should use <td wrap="nowrap"> and that works... for spaces, but not for dashes.
Should I use non shrinking flex elements instead?
By making shorter the Description I mean:
| Description              | Date       |
|--------------------------|------------|
| This is a really long    | 2022-10-12 |
| description cell with    |            |
| many lines...            |            |