aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-12-12 06:10:08 +0000
committerStephen Blott2016-12-12 06:10:08 +0000
commitc4c2f428966631fc8fd66a45044be7607e5654c5 (patch)
tree565243501329213395a51dd16ae1b170ac276539
parent5a3818db59e4778b60feef3f9de6f64595300ca2 (diff)
downloadvimium-c4c2f428966631fc8fd66a45044be7607e5654c5.tar.bz2
Float find-mode matches to the right.
This floats the "5 Matches" text in the find-mode HUD to the right. This looks nicer, because the "5 Matches" text doesn't move as you type. As it happens, it also fixes an issue which arose a few months ago (for unknown reasons) with the positioning of the cursor in find mode. The cursor position was becoming "jammed" after the first character as you type.
-rw-r--r--pages/hud.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/hud.coffee b/pages/hud.coffee
index 77114a18..36e4cbd2 100644
--- a/pages/hud.coffee
+++ b/pages/hud.coffee
@@ -69,6 +69,7 @@ handlers =
countElement = document.createElement "span"
countElement.id = "hud-match-count"
+ countElement.style.float = "right"
hud.appendChild countElement
inputElement.focus()