Skip to main content

๐ŸŽ Wrapping and Ellipses in Reports

How can I change Slate reports to display and wrap the entire label instead of cutting it off with ellipses? ๐Ÿค”

Yes! CSS added to a static content block in a report can alter column labels, row labels, or both:

<style type="text/css">
/* Wrap column labels */
table.table>thead>tr.header>th>div {
    white-space: wrap;
}

/* Wrap row labels */
table.table>tbody>tr>td:first-child>div {
    white-space: wrap;
}
</style>

References