Skip to content

Commit

Permalink
resize social links
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Jan 8, 2024
1 parent 5a8e12b commit 084655e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,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", width: "150", height: "80" %>
<%= image_tag footer_image_url, class: "footer-bottom__logo", width: "150", height: "50" %>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion app/cells/decidim/newsletter_agenda/agenda_events_cell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def social_links
path = "images/#{network}.png" unless File.exist?(File.join(Decidim::NewsletterAgenda::Engine.root, "app/packs/#{path}"))

ico = tag.img(src: asset_pack_url("media/#{path}", **host_options), alt: network.capitalize, class: "footer-social__icon",
title: t("decidim.newsletter_agenda.agenda_events_settings_form.#{network}"), width: 20, height: 20)
title: t("decidim.newsletter_agenda.agenda_events_settings_form.#{network}"))
links << link_to(ico, network_url(v, network), target: "_blank", rel: "noopener", class: "footer-social__icon")
end

Expand Down

0 comments on commit 084655e

Please sign in to comment.