Fix non-JS captcha on original post form, report form, etc.
This commit is contained in:
parent
047ce3c471
commit
f59720fc0c
@ -1,3 +1,9 @@
|
|||||||
noscript div:first-child, noscript iframe {
|
noscript > div, noscript > div > div {
|
||||||
height: 422px !important;
|
height: 545px !important;
|
||||||
|
}
|
||||||
|
noscript > div > div > div:first-child, noscript iframe {
|
||||||
|
height: 423px !important;
|
||||||
|
}
|
||||||
|
:root:not(.js-enabled) #g-recaptcha {
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
:root:not(.js-enabled) #g-recaptcha {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
Report =
|
Report =
|
||||||
css: `<%= importCSS('noscript', 'report') %>`
|
css: `<%= importCSS('noscript') %>`
|
||||||
|
|
||||||
init: ->
|
init: ->
|
||||||
return unless /\bmode=report\b/.test(location.search) and match = location.search.match /\bno=(\d+)/
|
return unless /\bmode=report\b/.test(location.search) and match = location.search.match /\bno=(\d+)/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user