Skip to content
Permalink
Browse files
fix event image style on mobile
  • Loading branch information
plainheart committed May 10, 2022
1 parent d4b838d commit 4c9a7a81283ab32b001d13d47903098f225b4abc
Showing 2 changed files with 5 additions and 5 deletions.
@@ -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
@@ -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

0 comments on commit 4c9a7a8

Please sign in to comment.