Skip to content

Commit c0a3b15

Browse files
rwiteshberaydcjeff
andauthored
fix(404): navbar not cover 404 content anymore (#184)
* Fixed 404 not found tag * Fixed code format * Apply suggestions from code review Co-authored-by: Jeff Yang <32727188+ydcjeff@users.noreply.github.com>
1 parent a098b12 commit c0a3b15

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/views/PageNotFound.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
>.
1212
</p>
1313
</div>
14-
<Footer />
14+
<Footer class="footer" />
1515
</main>
1616
</template>
1717

@@ -52,6 +52,7 @@ h1 {
5252
color: var(--c-brand-red);
5353
}
5454
.heading {
55+
padding-top: 12rem;
5556
max-width: 75vw;
5657
margin: auto;
5758
text-align: center;
@@ -60,4 +61,13 @@ h1 {
6061
background: var(--c-white);
6162
color: var(--c-brand-red);
6263
}
64+
65+
.footer {
66+
position: absolute;
67+
bottom: 0;
68+
left: 0;
69+
right: 0;
70+
width: 100vw;
71+
margin: auto;
72+
}
6373
</style>

0 commit comments

Comments
 (0)