Hi,
Long label display can be wrapped to multiple lines by customizing the detailview , adding the css code for enable wordwrap on label’s.
Path of file:-
custom/modules/MODULE_NAME/views/view.detail.php
Function to override:-
function PreDisplay() {
echo ’
.detail508 tr td[scope=“col”] {
white-space: inherit;
}
';
parent::PreDisplay();
}
}
here, ‘detail508 tr td[scope=“col”]’ is the class of labels, can find through inspect element(may differ)
This works for me while wrappping the long labels fields on my meetings module,