mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
centered the error message
This commit is contained in:
parent
b51a54567a
commit
fdce01ae18
2 changed files with 7 additions and 2 deletions
|
@ -47,8 +47,8 @@ router.get('*', verifyToken, async (req: Request, res: Response) => {
|
|||
}
|
||||
} catch (err) {
|
||||
res.status(404).render('error', {
|
||||
message:'Page not found',
|
||||
status:404,
|
||||
message: 'Page not found',
|
||||
status: 404,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
font-size: 15px;
|
||||
text-align: center;
|
||||
margin-top: 30vh;
|
||||
margin-left: 20vw;
|
||||
|
||||
@media (--mobile) {
|
||||
margin-left: 0vw;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@media (--mobile) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue