From 4b71e58dedb6890e125ecccd5a542e39f9c118cf Mon Sep 17 00:00:00 2001 From: Yang Date: Sun, 4 Feb 2018 18:08:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=89=93=E5=8D=B0=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Home.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Home.vue b/frontend/src/pages/Home.vue index ac1099aa..116c3c3c 100644 --- a/frontend/src/pages/Home.vue +++ b/frontend/src/pages/Home.vue @@ -12,7 +12,7 @@ -
+
@@ -117,4 +117,17 @@ export default { max-width: 900px; margin: 0 auto; } + +@media print { + .editor, .header, .tree { + display: none; + } + + .view.markdown-body { + min-width: 100%; + max-width: 100%; + width: 100%; + height: auto; + } +}