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 the labels.

<style type="text/css">
ย  ย  table.table>*>tr>th>div:first-child,
ย  ย  table.table>*>tr>td>div:first-child {
ย  ย  ย  ย  white-space: normal;
ย  ย  }
</style>
<p>
ย  ย  &#160;
</p>

Alternately:

<style type="text/css">
ย  ย  table.table>*>tr>th {
ย  ย  ย  ย  white-space: normal;
ย  ย  }
</style>
<p>
ย  ย  &#160;
</p>

Only wrap headers, not row labels:

<style type="text/css">
ย  table.table>*>tr>th>div {
ย  ย  white-space: normal !important;
ย  }
</style>

References

https://knowledge.technolutions.com/hc/en-us/community/posts/360055238271-Getting-Email-address-to-wrap-around-in-Reports-OR-adjusting-column-widths-in-Reports-

https://community.technolutions.net/archived-posts/post/report-ellipses-on-column-titles-g8JxjdU5CSwYnTJ