mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-10 16:05:32 +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) {
|
} catch (err) {
|
||||||
res.status(404).render('error', {
|
res.status(404).render('error', {
|
||||||
message:'Page not found',
|
message: 'Page not found',
|
||||||
status:404,
|
status: 404,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 30vh;
|
margin-top: 30vh;
|
||||||
|
margin-left: 20vw;
|
||||||
|
|
||||||
|
@media (--mobile) {
|
||||||
|
margin-left: 0vw;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@media (--mobile) {
|
@media (--mobile) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue