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; */ }