Third party hCaptcha border is light on dark theme

JoyFreak

Well-known member
Affected version
2.2
I've got a dark version of the default XF theme but noticed the hCaptcha has a white border. A more subtle colour would have been better. I'm not quite sure if it's a bug or not as I tried to apply a border colour to the .anchor class via the extra.less but didn't work.

hcaptcha.webp
 
I don’t think that these changes is working with iframes. The border comes with the hCaptcha iFrame. Maybe hCaptcha could change the dark theme border.
 
Did you apply CSS changes correctly? This works:

CSS:
.anchor.dark {
    border: 1px;
}
That didn't work for me. As above, it's tricky with iFrames. It's probably something hCaptcha might need to do, something that XenForo needs to discuss with them.
 
I have sent this on as feedback to hCaptcha, but unfortunately, since this styling is coming from their <iframe> there isn't anything we can do to override it.
 
Top Bottom