fix
This commit is contained in:
parent
f9feff0bf5
commit
04f44fab68
|
|
@ -113,7 +113,9 @@
|
||||||
if (!IsMessageTextVisible)
|
if (!IsMessageTextVisible)
|
||||||
{
|
{
|
||||||
var textString = System.Text.RegularExpressions.Regex.Replace(((EmailMessage)context.DataItem).Text!, "<(.|\n)*?>", string.Empty);
|
var textString = System.Text.RegularExpressions.Regex.Replace(((EmailMessage)context.DataItem).Text!, "<(.|\n)*?>", string.Empty);
|
||||||
<div style="padding-top: 3px; color: darkgray">@textString</div>
|
if (textString.Length > 80) textString = textString[..80] + "...";
|
||||||
|
|
||||||
|
<div style="color: darkgray; word-break: normal; white-space: normal; padding: 3px 5px 0 0; margin: 0 auto;">@textString</div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</CellDisplayTemplate>
|
</CellDisplayTemplate>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue