Skip to content

Commit

Permalink
modify styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Dec 14, 2023
1 parent c4ab4c0 commit 2486e6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
<tr style="text-align: center;vertical-align: middle;">
<td class="bottom" style="text-align: center;vertical-align: middle;">
<%= translated_text_for :body_final_text %>
<%= image_tag asset_pack_url("media/images/arrow-down.png", **host_options), display: "block", margin-top: "1rem" %>
<%= image_tag asset_pack_url("media/images/arrow-down.png", **host_options), style: "display: block; margin-top: 1rem;" %>
</td>
</tr>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<!-- 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}", resize_to_fill: [238, 134]), width: "238", height: "134", style: "width:100%; max-width:100%; display:block; margin:0 auto;") %>
<%= image_tag(image_url("body_box_image_#{num}", resize_to_fill: [238, 134]), width: "238", height: "134", style: "width:100%; max-width:500px; display:block; margin:0 auto;") %>
<% end %>
<% end %>

Expand Down Expand Up @@ -282,9 +282,9 @@
<td class="mobile-responsive logos-block" style="padding: 0 32px 0 0;vertical-align: bottom;">
<table border="0" cellspacing="0" cellpadding="0">
<tr class="footer-logos">
<td align="left" class="footer-logo" style="padding-left: 16px;padding-right: 20px;"><%= image_tag asset_pack_url("media/images/capital_logo.png", **host_options, resize_to_fit: [138, 25]), width: "180", height: "25" %></td>
<td align="center" class="footer-logo" style="padding-left: 16px;padding-right: 20px;"><%= image_tag asset_pack_url("media/images/ajuntament.png", **host_options, resize_to_fit: [66, 25]), width: "120", height: "25" %></td>
<td align="right" class="footer-logo" style="padding-left: 16px;"><%= image_tag asset_pack_url("media/images/metropolita_logo.png", **host_options, resize_to_fit: [51, 25]), width: "140", height: "25" %></td>
<td align="left" class="footer-logo" style="padding-left: 16px;padding-right: 20px;"><%= image_tag asset_pack_url("media/images/capital_logo.png", **host_options), width: "180", height: "25" %></td>
<td align="center" class="footer-logo" style="padding-left: 16px;padding-right: 20px;"><%= image_tag asset_pack_url("media/images/ajuntament.png", **host_options), width: "100", height: "25" %></td>
<td align="right" class="footer-logo" style="padding-left: 16px;"><%= image_tag asset_pack_url("media/images/metropolita_logo.png", **host_options), width: "80", height: "25" %></td>
</tr>
</table>
</td>
Expand Down

0 comments on commit 2486e6d

Please sign in to comment.