From c4c2f428966631fc8fd66a45044be7607e5654c5 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Mon, 12 Dec 2016 06:10:08 +0000 Subject: 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. --- pages/hud.coffee | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.2.3