diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3889cd3..bf449a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,10 @@ jobs: with: fetch-depth: 1 + - uses: nanasess/setup-chromedriver@v2 + with: + chromedriver-version: 119.0.6045.105 + - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/app/cells/decidim/newsletter_agenda/agenda_events/themes/canodrom.erb b/app/cells/decidim/newsletter_agenda/agenda_events/themes/canodrom.erb index de29e8e..e3c4f09 100644 --- a/app/cells/decidim/newsletter_agenda/agenda_events/themes/canodrom.erb +++ b/app/cells/decidim/newsletter_agenda/agenda_events/themes/canodrom.erb @@ -152,8 +152,8 @@ .footer-social__icon { display: inline-block; margin-right: 0.5rem; - width: 20px; - height: 20px; + width: 20px !important; + height: 20px !important; } .footer-social__icon:last-child { @@ -165,6 +165,11 @@ margin: 0 auto; } + img { + -ms-interpolation-mode: nearest-neighbor; + -ms-interpolation-mode: bicubic; + } + @media only screen and (max-width: 500px) { .event-box, .footer-box { @@ -220,9 +225,9 @@ - - + @@ -240,7 +245,7 @@
- <%= image_tag image_url(:main_image, resize_to_fit: [653, 436]) %> +
+ <%= image_tag image_url(:main_image, resize_to_fit: [653, 436]), width: "653", height: "436" %>
- +
-
@@ -251,8 +256,8 @@
- +
+ <% (1..4).each_slice(2) do |boxes| %> <% boxes.each do |num| %> @@ -260,7 +265,7 @@
<% if has_image?("body_box_image_#{num}") %> <%= link_to link_for("body_box_link_url_#{num}") do %> - <%= image_tag(image_url("body_box_image_#{num}")) %> + <%= image_tag(image_url("body_box_image_#{num}"), width: "238", height: "134", style: "width:100%; max-width:500px; display:block; margin:0 auto;") %> <% end %> <% end %>
@@ -305,7 +310,7 @@ <% (1..3).each do |num| %>