#Codex

1 messages · Page 1 of 1 (latest)

analog robinBOT
jovial lagoon
winged forge
#

fontSizeBase only changes the label size of the inputs

#

Not the actual text size of the input field

#

Are we locked from styling the input field text?

jovial lagoon
#

I don't think se. I have my own Payment Element setting a custom font for the text in the Inputs

#

Okay I just tested my own integration using fontSizeBase: "46em", and the text inside the input is definitely changed

winged forge
#

Ahh I see, but it's not independent

jovial lagoon
#

Here is my PE without any fontSizeBase

#

and here it is with a value of 2em

winged forge
#

Oh I see. I have the input labels separate. And they are different sizes to begin with

#

ALright thank you

jovial lagoon
#

Happy to help. If you want to set styling for particular elements I'd check out the Rules section in that doc

winged forge
#

Ahh yes that worked

#

rules: { '.Input': ...}

#

Thanks