Skip to content

Commit

Permalink
fix social links size
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Jan 5, 2024
1 parent 146c3cd commit 5a8e12b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/cells/decidim/newsletter_agenda/agenda_events_cell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +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}"), width: 20, height: 20)
links << link_to(ico, network_url(v, network), target: "_blank", rel: "noopener", class: "footer-social__icon")
end

Expand Down

0 comments on commit 5a8e12b

Please sign in to comment.