Skip to content

Commit

Permalink
Updated captcha issue by adding a new class
Browse files Browse the repository at this point in the history
  • Loading branch information
NandiniAV committed Jun 23, 2022
1 parent 15fc85c commit 4fe6f79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -772,11 +772,10 @@
}
}
}

}

// only show recaptcha badge on needed pages
body.recaptcha {
::ng-deep.cs-recaptcha {
.grecaptcha-badge {
visibility: visible !important;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class PublicSignupComponent implements OnInit, OnDestroy {
}

if (isPlatformBrowser(this._platformId)) {
this._document.body.classList.add('recaptcha')
this._document.body.classList.add('cs-recaptcha')
}
}

Expand Down Expand Up @@ -184,7 +184,7 @@ export class PublicSignupComponent implements OnInit, OnDestroy {
}

if (isPlatformBrowser(this._platformId)) {
this._document.body.classList.remove('recaptcha')
this._document.body.classList.remove('cs-recaptcha')
}
}

Expand Down

0 comments on commit 4fe6f79

Please sign in to comment.