There is a fixed-width table consisting of two columns. It is necessary to set with the help of css: the width of the left column - by content, the width of the right - the remainder (the width of the table is the width of the first column) and, if necessary, trim the text. I tried
.table { width: 100%; table-layout: fixed; } .table td:last-child { text-align: right; text-overflow: ellipsis; overflow: hidden; } In this case, the text in the cells "clashes" on each other. Tried other ways (without table-layout: fixed) - the width of the table increases. That is, we need this option:
Column1 | Column2 Foo BarBar Column1 | Co2 Foooooooooo B...