diff --git a/4chan_x.js b/4chan_x.js index b812fd3f3..2ef517b97 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2330,9 +2330,6 @@ #qr #recaptcha_table td:nth-of-type(3) {/* captcha logos */\ display: none;\ }\ - #qr {\ - width: 302px;\ - }\ #qr form, #qr #com_submit, #qr input[type="file"] {\ margin: 0;\ }\ @@ -2343,8 +2340,9 @@ #qr *:not(input):not(textarea) {\ padding: 0 !important;\ }\ - #qr.auto:not(:hover) form {\ - display: none;\ + #qr.auto:not(:hover) > form {\ + height: 0px;\ + overflow: hidden;\ }\ /* http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css */\ #qr input:-webkit-input-placeholder {\ diff --git a/script.coffee b/script.coffee index 74bebb49a..e44e57cdc 100644 --- a/script.coffee +++ b/script.coffee @@ -1836,9 +1836,6 @@ main = #qr #recaptcha_table td:nth-of-type(3) {/* captcha logos */ display: none; } - #qr { - width: 302px; - } #qr form, #qr #com_submit, #qr input[type="file"] { margin: 0; } @@ -1849,8 +1846,9 @@ main = #qr *:not(input):not(textarea) { padding: 0 !important; } - #qr.auto:not(:hover) form { - display: none; + #qr.auto:not(:hover) > form { + height: 0px; + overflow: hidden; } /* http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css */ #qr input:-webkit-input-placeholder {