We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bdf882 commit 2429823Copy full SHA for 2429823
site/src/layouts/Menu.vue
@@ -48,6 +48,7 @@
48
<span>{{ isZhCN ? n.title : n.enTitle || n.title }}</span>
49
<span v-if="isZhCN" class="chinese">{{ n.subtitle }}</span>
50
</router-link>
51
+ <a-tag v-if="n.tag" color="green" style="margin-left: auto">{{ n.tag }}</a-tag>
52
</a-menu-item>
53
</template>
54
</a-menu-item-group>
site/src/theme/static/common.less
@@ -89,6 +89,11 @@ a {
89
padding-right: 40px !important;
90
padding-left: 16px !important;
91
}
92
+
93
+ .ant-menu-title-content {
94
+ display: flex;
95
+ align-items: center;
96
+ }
97
98
99
// Nest Category > Type > Article
0 commit comments