You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/09/17 05:10:55 UTC

[echarts-www] branch master updated: use css from apache server to avoid style breaks

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git


The following commit(s) were added to refs/heads/master by this push:
     new e0cbcd0  use css from apache server to avoid style breaks
e0cbcd0 is described below

commit e0cbcd01846f88eb877c7db57179484e98f72bd7
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Sep 17 13:10:48 2021 +0800

    use css from apache server to avoid style breaks
---
 _jade/layouts/basic.jade | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/_jade/layouts/basic.jade b/_jade/layouts/basic.jade
index 33b3f96..b89efc6 100644
--- a/_jade/layouts/basic.jade
+++ b/_jade/layouts/basic.jade
@@ -24,7 +24,7 @@ html(lang='#{htmlAttrLang}')
         script(src='https://oss.maxcdn.com/respond/1.4.2/respond.min.js')
         <![endif]-->
 
-        link(rel='stylesheet', type='text/css', href="#{getAssetUrl(cdnPayRoot, ecWWWLang + '/css/main.css')}")
+        link(rel='stylesheet', type='text/css', href="#{getAssetUrl(host, ecWWWLang + '/css/main.css')}")
 
         script.
             window.EC_WWW_LANG = '#{ecWWWLang}';
@@ -56,7 +56,7 @@ html(lang='#{htmlAttrLang}')
         div.no-script
             if ecWWWLang == 'en'
                 strong We're sorry, but Apache ECharts website doesn't work properly without JavaScript enabled. Please enable it to continue.
-            else 
+            else
                 strong 很抱歉,Apache ECharts 网站需要启用 JavaScript 才能正常运行。
     #apache-banner
         .txt

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org