feat: v1.10.4 - 适配浏览器打印和导出pdf时的页面样式
This commit is contained in:
parent
b6ecfe03e2
commit
b554f8f3d4
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue