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

wangzx 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 4c9a7a81 fix event image style on mobile
4c9a7a81 is described below

commit 4c9a7a81283ab32b001d13d47903098f225b4abc
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Tue May 10 17:17:55 2022 +0800

    fix event image style on mobile
---
 _jade/en/index.jade | 6 +++---
 _jade/zh/index.jade | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/_jade/en/index.jade b/_jade/en/index.jade
index 800d55de..44e77b78 100644
--- a/_jade/en/index.jade
+++ b/_jade/en/index.jade
@@ -45,11 +45,11 @@ block content
 
             section#events-section
                 .container
-                    
a.event(href='https://apachecon.com/acasia2022/?ref=echarts', style="width: 
1000px; margin: 15px auto")
+                    
a.event(href='https://apachecon.com/acasia2022/?ref=echarts', style="max-width: 
1000px; margin: 15px auto")
                         picture
                             
source.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20220509-acasia2022.webp?_v_=#{cdnPayVersion}",
 type="image/webp")
-                            
img.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20220509-acasia2022.png?_v_=#{cdnPayVersion}",
 type="image/png")
-            //-                 
img.lazy(data-src="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210705-apachecon-en.jpeg?_v_=#{cdnPayVersion}",
 alt="ApacheCon Asia 2021")
+                            
img.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20220509-acasia2022.png?_v_=#{cdnPayVersion}",
 type="image/png", style="width: 100%")
+                            //- 
img.lazy(data-src="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210705-apachecon-en.jpeg?_v_=#{cdnPayVersion}",
 alt="ApacheCon Asia 2021")
 
             section#feature-section
                 .container
diff --git a/_jade/zh/index.jade b/_jade/zh/index.jade
index 87363e51..addbfc80 100644
--- a/_jade/zh/index.jade
+++ b/_jade/zh/index.jade
@@ -44,10 +44,10 @@ block content
 
             section#events-section
                 .container
-                    
a.event(href='https://apachecon.com/acasia2022/zh/?ref=echarts', style="width: 
1000px; margin: 15px auto")
+                    
a.event(href='https://apachecon.com/acasia2022/zh/?ref=echarts', 
style="max-width: 1000px; margin: 15px auto")
                         picture
                             
source.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20220509-acasia2022.webp?_v_=#{cdnPayVersion}",
 type="image/webp")
-                            
img.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20220509-acasia2022.png?_v_=#{cdnPayVersion}",
 type="image/png")
+                            
img.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20220509-acasia2022.png?_v_=#{cdnPayVersion}",
 type="image/png", style="width: 100%")
                             //- 
img.lazy(data-src="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210705-apachecon.jpeg?_v_=#{cdnPayVersion}",
 alt="ApacheCon Asia 2021")
 
             section#feature-section


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

Reply via email to