From 739b7e5c663ecd026295b303356c3d278afd6be9 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 8 May 2011 14:44:43 +0200 Subject: [PATCH 1/2] Fix placeholder color on webkit. --- 4chan_x.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 49ffeef5c..879943fc9 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2363,7 +2363,7 @@ overflow: hidden;\ }\ /* http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css */\ - #qr input:-webkit-input-placeholder {\ + #qr input::-webkit-input-placeholder {\ color: grey;\ }\ #qr input:-moz-placeholder {\ diff --git a/script.coffee b/script.coffee index bf083257a..3cf5c3df1 100644 --- a/script.coffee +++ b/script.coffee @@ -1867,7 +1867,7 @@ main = overflow: hidden; } /* http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css */ - #qr input:-webkit-input-placeholder { + #qr input::-webkit-input-placeholder { color: grey; } #qr input:-moz-placeholder { From 4ad950fd3b9f60ee9fbbad9a8b56a1d50d9fc3bd Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 8 May 2011 17:08:40 +0200 Subject: [PATCH 2/2] Prevent email field from popping out, without screwing up. --- 4chan_x.js | 3 +-- script.coffee | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 879943fc9..115b7acd3 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2340,8 +2340,7 @@ #qr > div.move > input[name=name] {\ float: left;\ }\ - #qr_form > div {\ - float: left;\ + #qr_form {\ clear: both;\ }\ #qr #recaptcha_table td:nth-of-type(3) {/* captcha logos */\ diff --git a/script.coffee b/script.coffee index 3cf5c3df1..b3b5d8056 100644 --- a/script.coffee +++ b/script.coffee @@ -1844,8 +1844,7 @@ main = #qr > div.move > input[name=name] { float: left; } - #qr_form > div { - float: left; + #qr_form { clear: both; } #qr #recaptcha_table td:nth-of-type(3) {/* captcha logos */