diff --git a/package.json b/package.json index 30608507d8..0b0fcfe143 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "vuepress-plugin-one-click-copy": "^1.0.2", "vuepress-plugin-thirdparty-search": "^1.0.2", "vuepress-plugin-zooming": "^1.1.7", - "vuepress-theme-vdoing": "^1.10.3", + "vuepress-theme-vdoing": "^1.10.4", "yamljs": "^0.3.0" } } diff --git a/vdoing/package.json b/vdoing/package.json index ae2f11fd39..95fbb7c0a3 100644 --- a/vdoing/package.json +++ b/vdoing/package.json @@ -1,6 +1,6 @@ { "name": "vuepress-theme-vdoing", - "version": "1.10.3", + "version": "1.10.4", "description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。", "author": { "name": "gaoyi(Evan) Xu" diff --git a/vdoing/styles/index.styl b/vdoing/styles/index.styl index 1134997d04..0817f5dae5 100644 --- a/vdoing/styles/index.styl +++ b/vdoing/styles/index.styl @@ -301,3 +301,10 @@ th, td padding-left 0 @require 'mobile.styl' + +// 打印时的样式 +@media print + .navbar,.sidebar,.buttons + display: none + .page + padding-top: 0 !important