Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Redwood Override CSS for READ ONLY Text Fields — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Redwood Override CSS for READ ONLY Text Fields

Received Response
1
Views
1
Comments

Summary:


Content (required):

I have attached a sample application where I am using the redwood-override.css file to override some of the CSS properties of text fields. One of the values I am overriding is the font size (see below).

--oj-text-field-font-size:      var(--oj-typography-body-xl-font-size);

However, it is only working on an "enabled" text field. The "read only" text field appears to be defaulting to some standard theme font size. I don't see any value in the redwood-override.css file that would allow me to set the font-size on a read-only text field.

In the image, the red text field is read-only and appears to be md-font-size. The blue text field is enabled and is xl-font-size based on the override setting.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!