Skip to content

Commit e36041b

Browse files
authored
带回车的span内容,会在前面自动生成一个空格
带回车的span内容,会在前面自动生成一个空格,当时移动端的时候,tag显示被换行下来,第一个tag内容前面就多了一个空格,与上一行没对齐
1 parent 599ac29 commit e36041b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/vuepress-theme-reco/components/PageInfo.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
:key="subIndex"
2626
class="tag-item"
2727
:class="{ 'active': currentTag == subItem }"
28-
@click="goTags(subItem)">
29-
{{subItem}}
30-
</span>
28+
@click="goTags(subItem)">{{subItem}}</span>
3129
</i>
3230
</div>
3331
</template>

0 commit comments

Comments
 (0)