Skip to content

Commit e3dcdd2

Browse files
banner same width as cards
1 parent a30e3c0 commit e3dcdd2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

layouts/default.vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
<SideBar v-if="showSideBar" />
2828
</transition>
2929
<article class="w-screen p-4 md:w-3/4">
30-
<Banner>
31-
<h2><b>WARNING:</b> Work in Progress.</h2>
32-
<p>Some Pages may be unfinished or broken. Enjoy.</p>
33-
</Banner>
34-
<Nuxt />
30+
<div class="mx-auto w-full md:w-3/4">
31+
<Banner>
32+
<h2><b>WARNING:</b> Work in Progress.</h2>
33+
<p>Some Pages may be unfinished or broken. Enjoy.</p>
34+
</Banner>
35+
<Nuxt />
36+
</div>
3537
</article>
3638
</div>
3739
</main>

pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="mx-auto w-full md:w-3/4">
2+
<div>
33
<ArticleCard
44
v-for="article in articles"
55
:key="article.slug"

0 commit comments

Comments
 (0)