• I would recommend adding a media query in your css, so the re-captcha box resizes on screens smaller than 380px wide.

    It’s explained here: https://geekgoddess.com/how-to-resize-the-google-nocaptcha-recaptcha/

    This is the css I use to ‘do it’.

        .g-recaptcha {
            transform:                scale(0.77);
            -webkit-transform:        scale(0.77);
            transform-origin:         0 0;
            -webkit-transform-origin: 0 0;
    
            @media (min-width: 360px) {
                transform:                scale(1);
                -webkit-transform:        scale(1);
            }
        }
    
Viewing 1 replies (of 1 total)
  • Thread Starter Beee

    (@beee)

    To clarify: above I listed my LESS, which gets compiled into css of course.

Viewing 1 replies (of 1 total)
  • The topic ‘Add media query for re-captcha’ is closed to new replies.