#mike taylor - elements

1 messages · Page 1 of 1 (latest)

covert zodiac
#

Hello! Just starting a thread for you -- I'll review and respond as soon as I can 🙂

covert zodiac
lone mango
#

Yep we tried that as follows, color works on font but backgroundColor isn't? options={{ style: { base: { fontSize: "16px", color: "#424770", '::placeholder': { color: "#aab7c4", }, ':disabled': { backgroundColor: '#e8e8e8', //boxShadow: '0 0 0 1000px #e8e8e8 inset', color: "#9e2146", }, }, invalid: { color: "#9e2146", }, },

covert zodiac
#

Hmm the documentation suggests trying the background of the container element, but that seems like a different background right?

lone mango
#

will have a look but yes I think so

#

The only way I see to do it is to wrap the CardElement in a div and then apply a style there, but seems like a fiddle

covert zodiac
#

Yes I think that's what the documentation is recommending