appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Text widget align property not applied

Open eco-monk opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

In Text component, maxWidth and textAlign don't get applied when used as properties/style.

Steps To Reproduce

<Text
    maxWidth="20px"
    style={{
      maxWidth: "20px",
      textAlign: "center",
    }}
    textAlign="center"
    type={TextType.P1}
  >
    This is a sentence, I am now testing text align and max width properties
    with some sample text.
</Text>
image

Public Sample App

No response

Issue video log

No response

Version

Appsmith v1.8.11

eco-monk avatar Nov 28 '22 01:11 eco-monk