From 93755b74b17520a3e2670cb42fe84d0acc7540b7 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 2 Jun 2024 00:19:50 -0500 Subject: [PATCH] I may be dumb --- pageUpdater.js | 4 ++-- static/style.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pageUpdater.js b/pageUpdater.js index 938794c..2955028 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -99,7 +99,7 @@ function converter(html) { "WEATHER_TEXT": "", "ANNOUNCEMENT": fs.readFileSync(path.join(__dirname, "config/announcement.html")), "CACHED_IMAGES": fs.readdirSync(path.join(__dirname, "cached")).length.toString(), - "ACTIVITIES": activityToHTML.activitiesToHTML(lanyardData, cachedImages) + "ACTIVITIES": activityToHTML.activitiesToHTML(lanyardData) } replacers.ALL_KEYWORDS = "{" + Object.keys(replacers).join("}{") + "} " @@ -172,7 +172,7 @@ function converter(html) { module.exports = { getActivities: function () { - return htmlMinifier.minify(converter(activityToHTML.activitiesToHTML(lanyardData, cachedImages))) + return htmlMinifier.minify(converter(activityToHTML.activitiesToHTML(lanyardData))) }, middleWare: async function (req, res, next) { diff --git a/static/style.css b/static/style.css index fdab342..d7f7690 100644 --- a/static/style.css +++ b/static/style.css @@ -207,6 +207,7 @@ br { display: flex; position: relative; z-index: 3; + max-width: 50%; /* max-height: 200px; */ }