I have a problem with the alarms’ labels in Perspective 8.3.
The description of alarm is pretty long and I would like to fit it in an alarm table inside of a popup. Is there any way to wrap the text or to change the height of a column so the text will fit?
/* === Alarm Status Table Styles =================================================================== */
/* Allow cell text to word wrap */
.alarmStatusTable .ia_table__cell .content div {
white-space: pre-wrap;
}
/* === Alarm Status Table Styles =================================================================== */
/* Allow cell text to word wrap */
.psc-Components\/AST\/WrapCellText .alarmStatusTable .ia_table__cell .content div {
white-space: pre-wrap;
}
Then add the style class Components/AST/WrapCellText to your AST style.classes prop.
In this case, I would suggest adding a blank style class into the Perspective Styles so that it is selectable within the classes dropdown. you don’t need this however for it to work, just to provide visibility
it works but now the row with each alarm occupies almost half of a table (it occupies much more than is needed). Is there any way to change the height of rows?