From 558458b3c9bf7944d525cbcd6974bbdeeab7d150 Mon Sep 17 00:00:00 2001 From: mikeTWC1984 Date: Sun, 21 Apr 2024 22:45:29 -0400 Subject: [PATCH] minor style fixes --- htdocs/css/style.css | 2 +- htdocs/js/pages/Home.class.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 43722c8..3a8683d 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -952,7 +952,7 @@ td.table_label { .upcoming.schedule.grid-item { /* background-color: #fafafa */ - background-color: var(--box-background-color); + background-color: var(--background-color); /* color: #fff */ } diff --git a/htdocs/js/pages/Home.class.js b/htdocs/js/pages/Home.class.js index 5cd360b..596c8c0 100644 --- a/htdocs/js/pages/Home.class.js +++ b/htdocs/js/pages/Home.class.js @@ -315,7 +315,7 @@ Class.subclass( Page.Base, "Page.Home", { var col_width = Math.floor( ((size.width * 0.9) + 50) / 7 ); var cols = ['Event Name', 'Category', 'Plugin', 'Target', 'Scheduled Time', 'Countdown', 'Actions']; - var limit = Math.round((window.innerWidth-200)/350)*4 // try to fit 4 rows + var limit = Math.round((window.innerWidth)/350)*4 // try to fit 4 rows html += this.getPaginatedTable({ resp: {