Skip to content

Commit 6351c13

Browse files
committed
pnpm run format
1 parent cb4a066 commit 6351c13

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pages/blog/index.vue

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,20 @@ watch(
208208
class="h-full"
209209
>
210210
<div
211-
class="flex h-full flex-col justify-between space-y-3 bg-black/50 p-4 text-white drop-shadow-lg hover:ring-1 hover:ring-white"
211+
class="flex flex-col justify-between space-y-3 bg-black/50 p-4 text-white drop-shadow-lg hover:ring-1 hover:ring-white"
212212
>
213213
<div class="space-y-1">
214-
<div class="flex items-center gap-3">
215-
<p class="flex-1 text-xl font-semibold text-orange-400">
214+
<div
215+
class="flex flex-col gap-1 md:flex-row md:items-center md:gap-3"
216+
>
217+
<p
218+
class="text-lg font-semibold text-orange-400 md:flex-1 md:text-xl"
219+
>
216220
{{ article.title }}
217221
</p>
218222
<NuxtTime
219223
:datetime="article.date"
220-
class="text-sm text-gray-300"
224+
class="text-sm text-gray-300 md:text-right"
221225
year="numeric"
222226
month="short"
223227
day="2-digit"
@@ -226,7 +230,7 @@ watch(
226230
</div>
227231
<p
228232
v-if="article.description"
229-
class="line-clamp-4 text-sm text-gray-100"
233+
class="line-clamp-3 text-sm text-gray-100"
230234
>
231235
{{ article.description }}
232236
</p>
@@ -284,9 +288,7 @@ watch(
284288
</div>
285289
</div>
286290
<div v-if="showTags">
287-
<p class="text-xs uppercase tracking-widest text-gray-300">
288-
Tags
289-
</p>
291+
<p class="text-xs uppercase tracking-widest text-gray-300">Tags</p>
290292
<div class="mt-3 flex flex-wrap gap-2">
291293
<button
292294
v-for="(tag, ix) in tags"

0 commit comments

Comments
 (0)