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/css/main.css | 1 - www/scripts/main.js | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/css/main.css b/www/css/main.css index 1bc30bc..0e0b608 100644 --- a/www/css/main.css +++ b/www/css/main.css @@ -9,7 +9,6 @@ div.header top: 0; width: 100%; background: white; - height: 150px; } table.datatable 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