feat: v1.10.4 - 适配浏览器打印和导出pdf时的页面样式

This commit is contained in:
xugaoyi 2022-04-09 22:00:37 +08:00
parent b6ecfe03e2
commit b554f8f3d4
3 changed files with 9 additions and 2 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.10.3", "vuepress-theme-vdoing": "^1.10.4",
"yamljs": "^0.3.0" "yamljs": "^0.3.0"
} }
} }

View File

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

View File

@ -301,3 +301,10 @@ th, td
padding-left 0 padding-left 0
@require 'mobile.styl' @require 'mobile.styl'
//
@media print
.navbar,.sidebar,.buttons
display: none
.page
padding-top: 0 !important