From 38157fed6676a3c0b2d550ce64fb4817a7148961 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 20 Sep 2012 01:38:00 +0200 Subject: [PATCH] Replace the character counter. Close #768. --- 4chan_x.user.js | 5 ++++- script.coffee | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 7f2ee0928..a5968007f 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -5632,9 +5632,12 @@ h1 {\ #charCount {\ color: #000;\ background: hsla(0, 0%, 100%, .5);\ + font-size: 8pt;\ + margin: 1px;\ position: absolute;\ - top: 100%;\ + bottom: 0;\ right: 0;\ + pointer-events: none;\ }\ #charCount.warning {\ color: red;\ diff --git a/script.coffee b/script.coffee index 233088cf6..c5612ea70 100644 --- a/script.coffee +++ b/script.coffee @@ -4557,9 +4557,12 @@ h1 { #charCount { color: #000; background: hsla(0, 0%, 100%, .5); + font-size: 8pt; + margin: 1px; position: absolute; - top: 100%; + bottom: 0; right: 0; + pointer-events: none; } #charCount.warning { color: red;