interactivity tweaks

This commit is contained in:
Matthias Kretschmann 2024-03-30 17:05:01 +00:00
parent 263a089b97
commit 66a49c29fd
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 4 additions and 6 deletions

View File

@ -39,8 +39,7 @@ export async function GET(request: NextRequest) {
return new Response(JSON.stringify(data), { return new Response(JSON.stringify(data), {
status, status,
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json'
'Cache-Control': 'public, s-maxage=10'
} }
}) })
} }

View File

@ -41,8 +41,7 @@ export async function GET(request: NextRequest) {
return new Response(JSON.stringify(data), { return new Response(JSON.stringify(data), {
status, status,
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json'
'Cache-Control': 'public, s-maxage=10'
} }
}) })
} }

View File

@ -1,5 +1,5 @@
:root { :root {
--max-width: 740px; --max-width: 680px;
--border-radius: 0.3rem; --border-radius: 0.3rem;
--foreground-rgb: 20, 20, 20; --foreground-rgb: 20, 20, 20;

View File

@ -21,6 +21,6 @@
flex-shrink: 0; flex-shrink: 0;
font-size: 0.8rem; font-size: 0.8rem;
width: 100%; width: 100%;
max-width: calc(var(--max-width) * 1.5); max-width: var(--max-width);
margin: 3rem auto 0 auto; margin: 3rem auto 0 auto;
} }