Skip to content

Commit 03a76c6

Browse files
committed
fix(styling): tailwind background colour and border on page elements
1 parent 0b6113c commit 03a76c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pages/blog/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div
99
v-for="(post, index) in posts"
1010
:key="index"
11-
class="px-6 no-underline bg-gray-200 rounded-lg shadow-lg"
11+
class="px-6 border rounded-lg shadow"
1212
>
1313
<h3>
1414
<nuxt-link :to="`/blog/${post.slug}`">{{ post.title }}</nuxt-link>

pages/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<div
2525
v-for="(blurb, index) in page.intro.blurbs"
2626
:key="index"
27-
class="flex flex-col items-center justify-top"
27+
class="flex flex-col items-center px-6 border rounded-lg shadow justify-top"
2828
>
2929
<img class="h-32" :src="blurb.image" />
3030
<p class="mt-2 text-justify">{{ blurb.text }}.</p>
@@ -43,7 +43,7 @@
4343
<div
4444
v-for="(post, index) in posts"
4545
:key="index"
46-
class="px-6 no-underline bg-gray-200 rounded-lg shadow-lg"
46+
class="px-6 border rounded-lg shadow"
4747
>
4848
<h3>
4949
<nuxt-link :to="`/blog/${post.slug}`">{{ post.title }}</nuxt-link>

0 commit comments

Comments
 (0)