XF 2.2 Custom thread fields snippet


Active member
I'm trying to create a custom thread field (Multi-line text box) that will be holding a lot amount of information when users create a thread. Is there a way I could display a snippet of the text and make it expandable? Atm it taking over the whole thread.


Active member
The quick and easy way would be to add something like this to the extra.less template:

    max-height: 100px;
    overflow-y: auto;

Otherwise if you want it to expand on click, as quotes do, it would require a template edit and adding the js class used for that, or something like this: https://www.w3schools.com/howto/howto_js_collapsible.asp
Looks great the extra.less suggestion 👍