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(); }