From a88252c6b20dff5e03820b5d27f216c214798866 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Sat, 5 Aug 2017 09:53:57 +0800 Subject: [PATCH] fix(style): nowrap => pre-wrap, fixed #228 --- src/themes/buble.css | 2 +- src/themes/dark.css | 2 +- src/themes/vue.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/themes/buble.css b/src/themes/buble.css index 033a4d46d..9e6f69220 100644 --- a/src/themes/buble.css +++ b/src/themes/buble.css @@ -132,7 +132,7 @@ $sidebar-width: 16rem; border-radius: 3px; font-family: Inconsolata; padding: 0.2em 0.4rem; - white-space: pre; + white-space: nowrap; } .markdown-section pre { diff --git a/src/themes/dark.css b/src/themes/dark.css index 45245899a..ed8afc471 100644 --- a/src/themes/dark.css +++ b/src/themes/dark.css @@ -134,7 +134,7 @@ body { font-size: 0.8rem; margin: 0 2px; padding: 3px 5px; - white-space: nowrap; + white-space: pre-wrap; } .markdown-section pre { diff --git a/src/themes/vue.css b/src/themes/vue.css index 42b47de6a..704317da3 100644 --- a/src/themes/vue.css +++ b/src/themes/vue.css @@ -145,7 +145,7 @@ body { font-size: 0.8rem; margin: 0 2px; padding: 3px 5px; - white-space: nowrap; + white-space: pre-wrap; } .markdown-section pre {