mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-22 17:33:18 +01:00
interactivity tweaks
This commit is contained in:
parent
263a089b97
commit
66a49c29fd
@ -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'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -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'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user