fix css issues
This commit is contained in:
parent
6e113b54b0
commit
c3d1a3c191
2 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,8 @@ body {
|
||||||
background-color: var(--main-2);
|
background-color: var(--main-2);
|
||||||
margin: auto;
|
margin: auto;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
|
max-height: 60vh;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header,
|
.header,
|
||||||
|
|
|
@ -117,6 +117,11 @@ async function initr(req, res, next) {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (req.path.endsWith('.png')) {
|
||||||
|
res.sendFile(`${process.cwd()}/public/login.svg`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
res.ctx = {
|
res.ctx = {
|
||||||
mainPage: '404.ejs',
|
mainPage: '404.ejs',
|
||||||
mainCtx: {},
|
mainCtx: {},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue