feat: v1.12.1

This commit is contained in:
xugaoyi 2022-06-03 19:53:42 +08:00
parent 7c5ab13a07
commit a6ea991a29
3 changed files with 12 additions and 12 deletions

View File

@ -24,7 +24,7 @@
"vuepress-plugin-one-click-copy": "^1.0.2", "vuepress-plugin-one-click-copy": "^1.0.2",
"vuepress-plugin-thirdparty-search": "^1.0.2", "vuepress-plugin-thirdparty-search": "^1.0.2",
"vuepress-plugin-zooming": "^1.1.7", "vuepress-plugin-zooming": "^1.1.7",
"vuepress-theme-vdoing": "^1.12.0", "vuepress-theme-vdoing": "^1.12.1",
"yamljs": "^0.3.0" "yamljs": "^0.3.0"
} }
} }

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="post-list card-box" ref="postList"> <div class="post-list" ref="postList">
<transition-group tag="div" name="post"> <transition-group tag="div" name="post">
<div <div
class="post" class="post card-box"
:class="item.frontmatter.sticky && 'iconfont icon-zhiding'" :class="item.frontmatter.sticky && 'iconfont icon-zhiding'"
v-for="item in sortPosts" v-for="item in sortPosts"
:key="item.key" :key="item.key"
@ -165,13 +165,13 @@ export default {
<style lang='stylus'> <style lang='stylus'>
.post-list .post-list
margin-bottom 4rem margin-bottom 3rem
.post .post
position relative position relative
padding 1rem 1.5rem padding 1rem 1.5rem
// margin-bottom 0.9rem margin-bottom 0.8rem
transition all 0.3s transition all 0.3s
border-bottom 1px solid var(--borderColor) // border-bottom 1px solid var(--borderColor)
&:last-child &:last-child
border-bottom none border-bottom none
&.post-leave-active &.post-leave-active
@ -249,12 +249,12 @@ export default {
.theme-style-line .theme-style-line
.post-list .post-list
border 1px solid var(--borderColor) border 1px solid var(--borderColor)
// border-bottom none border-bottom none
border-radius 5px border-radius 5px
overflow hidden overflow hidden
.post .post
// margin-bottom 0 margin-bottom 0
// border none border none
// border-bottom 1px solid var(--borderColor) border-bottom 1px solid var(--borderColor)
// border-radius 0 border-radius 0
</style> </style>

View File

@ -1,6 +1,6 @@
{ {
"name": "vuepress-theme-vdoing", "name": "vuepress-theme-vdoing",
"version": "1.12.0", "version": "1.12.1",
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。", "description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
"author": { "author": {
"name": "gaoyi(Evan) Xu" "name": "gaoyi(Evan) Xu"