Skip to content

Commit

Permalink
fix(theme-yun): post-card tags gap
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Oct 4, 2023
1 parent 0037a15 commit d18e70d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions demo/yun/pages/posts/中文Post测试.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
title: 中文 Post 测试
tags:
- 中文
- 多标签测试
- 测试
- Test
---

新的一年即将到来。
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ features:
<div m="auto y-8" text="center" font="black">
<h3 text="3xl">🧪</h3>

```bash
pnpm create valaxy
```
<code class="inline-flex text-xl! mt-4 px-4!">
<span>pnpm</span> create <span text="purple">valaxy</span>
</code>

<span text="4xl">WORK IN PROGRESS</span>

Expand Down
2 changes: 1 addition & 1 deletion packages/valaxy-theme-yun/components/YunPostCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const { icon, styles } = usePostProperty(props.post.type)
</div>

<div
class="post-tags inline-flex" items="center"
class="post-tags inline-flex" items="center" gap="1"
flex="wrap 1" justify="end" m="1"
>
<template v-if="post.tags">
Expand Down
2 changes: 1 addition & 1 deletion packages/valaxy-theme-yun/components/YunPostTags.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defineProps<{

<template>
<router-link
v-for="tag, i in tags" :key="i" :to="{ path: '/tags/', query: { tag } }" ml-1
v-for="tag, i in tags" :key="i" :to="{ path: '/tags/', query: { tag } }"
class="transition post-tag inline-flex-center text-xs border-$va-c-divider hover:(text-blue-500 border-blue-500)"
px-2 h="7"
rounded-full
Expand Down

2 comments on commit d18e70d

@vercel
Copy link

@vercel vercel bot commented on d18e70d Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://yun.valaxy.site as production
🚀 Deployed on https://651de0a55585346cd79de98c--valaxy.netlify.app

Please sign in to comment.