fix: resolve 500 error on partial lyrics regeneration and fix mobile scrolling by removing overflow: hidden
This commit is contained in:
@@ -466,6 +466,10 @@ async function handleGenerate(req, res) {
|
|||||||
signal,
|
signal,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (body.section === 'lyrics_partial') {
|
||||||
|
return json(res, { lyrics: content });
|
||||||
|
}
|
||||||
|
|
||||||
const parsed = extractJson(content);
|
const parsed = extractJson(content);
|
||||||
|
|
||||||
if (body.section === 'all') {
|
if (body.section === 'all') {
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
html, body, #root {
|
html, body, #root {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
|
||||||
font-family: 'Inter', system-ui, sans-serif;
|
font-family: 'Inter', system-ui, sans-serif;
|
||||||
cursor: url('/cursor-default.svg') 4 2, auto;
|
cursor: url('/cursor-default.svg') 4 2, auto;
|
||||||
}
|
}
|
||||||
@@ -51,6 +50,7 @@
|
|||||||
body {
|
body {
|
||||||
@apply bg-bg text-fg antialiased transition-colors duration-300;
|
@apply bg-bg text-fg antialiased transition-colors duration-300;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user