From 45493d39fb1cd63578adbf67d6985f8405f14dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?halwu=28=E5=90=B4=E6=B5=A9=E9=BA=9F=29?= Date: Wed, 17 May 2017 20:50:20 +0800 Subject: [PATCH] fix: use https --- doc/index.scss | 10 ++++++++++ doc/support.js | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/index.scss b/doc/index.scss index 14ed6de..d37a814 100644 --- a/doc/index.scss +++ b/doc/index.scss @@ -1,3 +1,7 @@ +#react-body { + margin: 10px; +} + .reflv-wrap { margin: 0 auto; max-width: 1000px; @@ -10,4 +14,10 @@ width: 100%; margin: 10px 0; } + + .ant-table { + td { + word-break: normal; + } + } } diff --git a/doc/support.js b/doc/support.js index 0620ec9..d3d8af8 100644 --- a/doc/support.js +++ b/doc/support.js @@ -22,7 +22,8 @@ export class FlvSupport extends PureComponent { dataIndex: 'support', key: 'support', render: (text) => { - if (typeof text === 'boolean') { + //noinspection EqualityComparisonWithCoercionJS + if (typeof text === 'boolean' || text == null) { return text ? true : false; } return text;