Skip to content

Commit

Permalink
fix(theme-default): fix incorrect 404 page layout, close #207 (#213)
Browse files Browse the repository at this point in the history
* fix(theme-default): fix incorrect 404 page layout, close #207

* chore: tweak
  • Loading branch information
pengzhanbo authored Jul 1, 2024
1 parent 983ad4a commit c7c9a72
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion themes/theme-default/src/client/layouts/NotFound.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const homeText = themeLocale.value.backToHome ?? 'Back to home'
</script>

<template>
<div class="theme-container">
<div class="vp-theme-container">
<main class="page">
<div class="theme-default-content">
<h1>404</h1>
Expand All @@ -25,3 +25,17 @@ const homeText = themeLocale.value.backToHome ?? 'Back to home'
</main>
</div>
</template>

<style scoped lang="scss">
.vp-theme-container {
max-width: 740px;
margin: 0 auto;
padding: 2rem 2.5rem;
}
@media (max-width: 959px) {
.vp-theme-container {
padding: 2rem;
}
}
</style>

0 comments on commit c7c9a72

Please sign in to comment.