Skip to content

Commit

Permalink
adjust image size for canodrom template
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Dec 14, 2023
1 parent 0703039 commit 35d1415
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
<table class="row content image">
<tr>
<th class="small-12 first columns">
<%= 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" %>
</th>
<th class="expander"></th>
</tr>
Expand Down Expand Up @@ -260,7 +260,7 @@
<div class="box-image">
<% 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}", resize_to_fill: [238, 134]), width: "238", height: "134", style: "width:100%; max-width:100%; display:block; margin:0 auto;") %>
<% end %>
<% end %>
</div>
Expand Down Expand Up @@ -305,7 +305,7 @@
<% (1..3).each do |num| %>
<td class="footer-box" style="padding: 10px;margin-bottom: 30px;" width="33%">
<div class="box-image">
<%= image_tag(image_url("footer_box_image_#{num}", resize_to_fill: [198, 132])) if has_image?("footer_box_image_#{num}") %>
<%= image_tag(image_url("footer_box_image_#{num}", resize_to_fill: [198, 132]), width: "198", height: "132") if has_image?("footer_box_image_#{num}") %>
</div>
<div class="footer-box-date-time">
<%= translated_text_for "footer_box_date_time_#{num}" %>
Expand Down Expand Up @@ -342,7 +342,7 @@
<table class="footer-logo" style="margin: 0;">
<tr>
<td class="footer-bottom" style="padding: 20px 0;">
<%= image_tag footer_image_url, class: "footer-bottom__logo" %>
<%= image_tag footer_image_url, class: "footer-bottom__logo", width: "124", height: "80" %>
</td>
</tr>
</table>
Expand Down

0 comments on commit 35d1415

Please sign in to comment.