Wrapping text in a query table

I would like query results displayed as a table to wrap long text in each cell. Currently, text is cutoff. I’ve seen some others have been able to wrap text, but I cannot locate how. Any ideas?

Thanks,
Steve

You can insert

td {
    white-space: pre-wrap !important;
}

in custom.css to wrap the text in query tables, see the css code given here: Quote storage system using queries and smartblocks.

3 Likes

Thank you! Huge help!

1 Like

I would propose an improvement on the above solution, which has the habit to break words and the formatting doesn’t look that nice.

Instead use:

/* Wrap text in query table */
td {
    white-space: pre-wrap !important;
    word-break: keep-all
}
5 Likes

Shouldn’t this be added as an standard feature?