1
0
Fork 0
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:
Umang G. Patel 2022-08-11 22:00:10 +05:30
parent b51a54567a
commit fdce01ae18
2 changed files with 7 additions and 2 deletions

View file

@ -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,
});
}
});

View file

@ -2,6 +2,11 @@
font-size: 15px;
text-align: center;
margin-top: 30vh;
margin-left: 20vw;
@media (--mobile) {
margin-left: 0vw;
}
h1 {
@media (--mobile) {