diff --git a/4chan_x.user.js b/4chan_x.user.js index 4504b384d..7f2ee0928 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2201,6 +2201,7 @@ } else { return; } + $.addClass(QR.el, 'captcha'); $.after($('.textarea', QR.el), $.el('div', { className: 'captchaimg', title: 'Reload', @@ -5619,9 +5620,12 @@ h1 {\ }\ #qr textarea.field {\ display: -webkit-box;\ - min-height: 120px;\ + min-height: 160px;\ min-width: 100%;\ }\ +#qr.captcha textarea.field {\ + min-height: 120px;\ +}\ .textarea {\ position: relative;\ }\ diff --git a/changelog b/changelog index 2027ecc4b..ffcaa7998 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ master +- Mayhem + Larger Comment text input by default for 4chan Pass users and on /f/ (no captcha). 2.35.2 - Mayhem diff --git a/script.coffee b/script.coffee index 0e4519d1e..233088cf6 100644 --- a/script.coffee +++ b/script.coffee @@ -1688,6 +1688,7 @@ QR = delete @onready else return + $.addClass QR.el, 'captcha' $.after $('.textarea', QR.el), $.el 'div', className: 'captchaimg' title: 'Reload' @@ -4544,9 +4545,12 @@ h1 { } #qr textarea.field { display: -webkit-box; - min-height: 120px; + min-height: 160px; min-width: 100%; } +#qr.captcha textarea.field { + min-height: 120px; +} .textarea { position: relative; }