From e3a2fd39a605775804827b8672a0fc0cc1b843e0 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 3 Aug 2018 13:40:38 +0000 Subject: Updated button layout to work in Firefox. Removed redundant height from fixed header div. --- www/scripts/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/scripts') diff --git a/www/scripts/main.js b/www/scripts/main.js index 0e403dc..af064e5 100644 --- a/www/scripts/main.js +++ b/www/scripts/main.js @@ -289,15 +289,16 @@ function AddRow(table, id, prev_id, next_id, desc, username, password, rowcount) if (next_id != -1 || prev_id != -1) { + AddElement(td, "br"); + if (prev_id != -1) { - AddText(td, "\u00a0"); AddSmallButtonPrevNext(td, "Up", DoUp, id, prev_id, next_id); + AddText(td, "\u00a0"); } if (next_id != -1) { - AddText(td, "\u00a0"); AddSmallButtonPrevNext (td, "Down", DoDown, id, prev_id, next_id); } -- cgit v1.2.3