Support Article
Style does not apply
SA-83394
Summary
On setting the 'Show SmartTip' action to 'Column of Table Layout', the centered style (including other styles) of the helper-class is not applied.
Error Messages
Not Applicable
Steps to Reproduce
- Add on-hover show SmartTip ActionSet to Column of Table Layout.
- Display the Case manager portal.
Root Cause
When an action set (any action, not just SmartInfo) is configured to the Text Input control, the leftJustifyStyle class (this has text Align as left and Display as block) is added to the <span> tag.
When centered inline style is configured for read-only classes, this is overridden by the leftJustifyStyle CSS elements. As a result, the text displays to the left. All the styles except for Text Align and Display are applied through the Helper classes.
Resolution
Perform the following local-change:
Add the below CSS snippet in the UserWorkForm rule.
<style>
.centered span.leftJustifyStyle {
text-align: center;
</style>
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.