我在salesforce lightning社区中实现了Google reCaptcha V2。除了图片选择器的样式,一切都很好。我无法确定图片选择器的位置,而且图片加载在提交按钮的顶部,我尝试了各种css改变,但无法解决这个问题。有谁在闪电社区遇到过类似的验证码问题,如果有解决方法,请告诉我。先谢谢你了。
试试这些。
.cUBC_CommunityCreateAccount html body > div:nth-of-type(2) {
left: 400px !important;
}
.ui-widget html body > div:nth-of-type(2) {
left: 400px !important;
}
.cUBC_CommunityCreateAccount html body div:nth-of-type(2) {
left: 400px !important;
}
.ui-widget html body div:nth-of-type(2) {
left: 400px !important;
}
.cUBC_CommunityCreateAccount html body > div:nth-child(2) {
left: 400px !important;
}
.ui-widget html body > div:nth-child(2) {
left: 400px !important;
}
.cUBC_CommunityCreateAccount html body div:nth-child(2) {
left: 400px !important;
}
.ui-widget html body div:nth-child(2) {
left: 400px !important;
}