From 212fdb06d83c687350a88cfc001255d8509d7377 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 19 Sep 2024 17:32:53 -0700 Subject: [PATCH] chore: styles + build frequency/wrapping --- package-lock.json | 4 ++-- package.json | 2 +- src/assets/styles/defaults/vars.css | 2 +- workers/mastodon/index.js | 2 +- workers/mastodon/wrangler.template.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index b99ff40b..e4d12ad3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "24.19.2", + "version": "24.19.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "24.19.2", + "version": "24.19.3", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index 8f27e984..772fa336 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "24.19.2", + "version": "24.19.3", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/defaults/vars.css b/src/assets/styles/defaults/vars.css index 3cd5753e..8473e00e 100644 --- a/src/assets/styles/defaults/vars.css +++ b/src/assets/styles/defaults/vars.css @@ -135,7 +135,7 @@ --inline-margin-bottom: -5px; /* shadows */ - --box-shadow-media: inset 0 -85px 60px -60px var(--black); + --box-shadow-media: inset 0 -85px 60px -40px var(--black); --box-shadow-text-toggle: inset 0 -120px 60px -60px var(--background-color); --text-shadow-default: rgba(0, 0, 0, 0.7) 0px 0px 10px; diff --git a/workers/mastodon/index.js b/workers/mastodon/index.js index 5ec2d7d5..9bd10a0e 100644 --- a/workers/mastodon/index.js +++ b/workers/mastodon/index.js @@ -30,7 +30,7 @@ async function handleScheduledEvent(env) { if (existingPost) continue - const plainTextDescription = convert(item.description, { wordwrap: 130 }) + const plainTextDescription = convert(item.description) const content = `${item.title}\n\n${plainTextDescription}\n\n${item.link}` await postToMastodon(mastodonApiUrl, accessToken, content) diff --git a/workers/mastodon/wrangler.template.toml b/workers/mastodon/wrangler.template.toml index 6b09f650..3ffce7f7 100644 --- a/workers/mastodon/wrangler.template.toml +++ b/workers/mastodon/wrangler.template.toml @@ -14,7 +14,7 @@ id = "${RSS_TO_MASTODON_KV_NAMESPACE_ID}" [env.production] name = "rss-to-mastodon-worker-production" -triggers = { crons = ["0 * * * *"] } +triggers = { crons = ["*/15 * * * *"] } [[env.production.kv_namespaces]] binding = "RSS_TO_MASTODON_NAMESPACE"