diff --git a/app/assets/stylesheets/widgets.scss b/app/assets/stylesheets/widgets.scss index 59e62866c..dbb0e8908 100644 --- a/app/assets/stylesheets/widgets.scss +++ b/app/assets/stylesheets/widgets.scss @@ -335,11 +335,9 @@ } img { - width: 100%; height: auto; border-radius: var(--radius); display: inline-block; vertical-align: middle; - margin: 10px auto; } } diff --git a/app/views/shared/_display_ad.html.erb b/app/views/shared/_display_ad.html.erb index 3b104a9be..9daa981e4 100644 --- a/app/views/shared/_display_ad.html.erb +++ b/app/views/shared/_display_ad.html.erb @@ -4,7 +4,12 @@ data-category-impression="<%= DisplayAdEvent::CATEGORY_IMPRESSION %>" data-context-type="<%= data_context_type %>">
-
<%= Settings::Community.community_name %>
+ <% if Page.exists?(slug: "billboards") && display_ad.organization_id? && display_ad.type_of == "community" %> + profile +
<%= display_ad.organization.name %>
+ <% else %> +
<%= Settings::Community.community_name %>
+ <% end %>