From 53fd8666172235d02d3963fa3c79576faa0f46c1 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 1 Jun 2023 14:25:12 +0200 Subject: [PATCH] Show number of results in changes.html, fix search input width. --- site/changes.html | 1 + site/changes.js | 1 + site/style.css | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/site/changes.html b/site/changes.html index 6fd924d..a952c8a 100644 --- a/site/changes.html +++ b/site/changes.html @@ -25,6 +25,7 @@ +
diff --git a/site/changes.js b/site/changes.js index 7f7d8b7..683966b 100644 --- a/site/changes.js +++ b/site/changes.js @@ -89,6 +89,7 @@ function showResults(items, today) { } table.appendChild(itemToDOM(item)); } + document.querySelector("#results").innerText = "Resultate: " + changedItems.length; } load(); \ No newline at end of file diff --git a/site/style.css b/site/style.css index 231739c..c897808 100644 --- a/site/style.css +++ b/site/style.css @@ -27,7 +27,6 @@ a { .search { margin: 20px 0; width: 100%; - max-width: 30em; font-size: 1em; }