From f12120b0552ce6f1551f68b91d81f81d577c7b9e Mon Sep 17 00:00:00 2001 From: javacs3 Date: Fri, 9 Aug 2019 19:59:48 +0800 Subject: [PATCH] fix demo page tag won't display multi space chars --- demo/index.html | 4 ++-- demo/style.css | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/demo/index.html b/demo/index.html index 4a4335ee..0fee6f4a 100644 --- a/demo/index.html +++ b/demo/index.html @@ -23,8 +23,8 @@

SerializeAddon

- - + +
diff --git a/demo/style.css b/demo/style.css index 12728289..1ab5dc3c 100644 --- a/demo/style.css +++ b/demo/style.css @@ -31,8 +31,14 @@ p { vertical-align: top; } -code { - padding: 2px 4px; +pre { + display: block; + padding: 9.5px; + font-size: 13px; color: #c7254e; background-color: #f9f2f4; + word-break: break-all; + word-wrap: break-word; + white-space: pre-wrap; + word-wrap: break-word; }