Skip to content

Commit

Permalink
set social links size
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Jan 5, 2024
1 parent 1009b61 commit 146c3cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@
</tr>
<tr>
<td class="agenda">
<table class="agenda" width="100%">
<table class="agenda">
<tr>
<td class="top" height="290px" width="580px" style="vertical-align: middle; padding: 0 120px; text-align: center; font-size:24px;"
<td class="top" height="290" width="580" style="vertical-align: middle; padding: 0 120px; text-align: center; font-size:24px;"
colspan="2">
<%= translated_text_for :body_title %>
<div class="body-subtitle" style="text-align: center; margin-top: 20px">
Expand Down
3 changes: 2 additions & 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,8 @@ 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}"))
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 146c3cd

Please sign in to comment.