From abe47e81c2eade4f2f73058274151c38f213daa5 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 23 Feb 2015 23:26:49 +0000 Subject: [PATCH] web: keep the add button right-aligned on ctrl - --- hledger-web/static/hledger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-web/static/hledger.js b/hledger-web/static/hledger.js index 980f5ca02..3b62aeba3 100644 --- a/hledger-web/static/hledger.js +++ b/hledger-web/static/hledger.js @@ -243,7 +243,7 @@ function addformDeletePosting() { focuslost = focuslost || $('#addform tr.posting:last > td:last input:last').is(':focus'); // replace new last row's amount field with the button - $('#addform tr.posting:last > td:last').html(btn); + $('#addform tr.posting:last > td:last').css('text-align','right').html(btn); // if deleted row had focus, focus the new last row if (focuslost) $('#addform tr.posting:last > td:first input:last').focus(); }