Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Add on-hover show SmartTip ActionSet to Column of Table Layout.
  2. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us