In ticket view the subject line is truncated with an elipsis (...) for long subject lines.
eg:
My really long summary text goes here to attempt t...

Inspecting the page the text is truncated but the following style:
<span class="truncate" style="max-width:300px">

I've tweaked the css on my installation to give wider columns instead of the 960px default window limit so I have more space for long subjects. But they appear to still be showing up shorter than the gap available.
I can go in and manually adjust the max-width in the inspector to create the desired effect but I cannot find anywhere in the code that adds the max-width:300px so it is automatically wider for every row on every ticket page load. I've tried searching for all instances of max-width in php and css files, for all instances of 300px in both file types and even widened my search to include all files but I can't find where this limit is set.

Any pointers appreciated.

    cjohnsonuk

    You are making this way more difficult than it needs to be. No need to modify any code. You can accomplish all of this within the Queue Column configurations. To make a Column wider simply increase the desired Column's Width. To not truncate the Subject click Config next to Subject Column and change Text Overflow from Add Ellipses to Wrap Lines.

    Here is the Custom Columns & Custom Queues (Admin) documentation:

    Cheers.

    That will explain why I couldn't find it in the code! Not sure that was a feature all those years ago when I started using the product. I guess that's what the manual is for! :-) thank you!

    Write a Reply...