diff --git a/package-lock.json b/package-lock.json index 245b3663..e9ca25b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "22.2.2", + "version": "22.2.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "22.2.2", + "version": "22.2.3", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index c6343ee9..ab6ad865 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "22.2.2", + "version": "22.2.3", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/components/buttons.css b/src/assets/styles/components/buttons.css index c70f1f21..9cc28e75 100644 --- a/src/assets/styles/components/buttons.css +++ b/src/assets/styles/components/buttons.css @@ -1,4 +1,5 @@ @import url('./tab-buttons.css'); +@import url('./text-toggle.css'); button, .button { diff --git a/src/assets/styles/components/text-toggle.css b/src/assets/styles/components/text-toggle.css index f7d061a8..76f65f51 100644 --- a/src/assets/styles/components/text-toggle.css +++ b/src/assets/styles/components/text-toggle.css @@ -20,6 +20,6 @@ } } -button[data-toggle-button] { - margin-bottom: var(--sizing-base); +[data-toggle-content]+button[data-toggle-button]:has(+ table) { + margin: 0 0 var(--sizing-base); } \ No newline at end of file diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index 43c50f6d..d99408bb 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -35,5 +35,4 @@ @import url('./components/music-chart.css') layer(components); @import url('./components/paginator.css') layer(components); @import url('./components/progress-bar.css') layer(components); -@import url('./components/text-toggle.css') layer(components); @import url('./components/theme-toggle.css') layer(components); \ No newline at end of file diff --git a/workers/analytics/index.js b/workers/analytics/index.js index 1db9b0ca..563aad92 100644 --- a/workers/analytics/index.js +++ b/workers/analytics/index.js @@ -12,7 +12,7 @@ async function handleRequest(request) { headers: request.headers }) const newHeaders = new Headers(response.headers) - newHeaders.set('Cache-Control', 'max-age=2592000') + newHeaders.set('Cache-Control', 'max-age=15552000') return new Response(response.body, { status: response.status,