diff --git a/app/assets/stylesheets/widgets.scss b/app/assets/stylesheets/widgets.scss index e350b2c5a..8e2b6fab9 100644 --- a/app/assets/stylesheets/widgets.scss +++ b/app/assets/stylesheets/widgets.scss @@ -282,15 +282,7 @@ // Sidebar sponsors .crayons-sponsorship-article { margin-bottom: 10px; - - img { - width: 100%; - height: auto; - border-radius: var(--radius); - display: block; - vertical-align: top; - margin: 10px auto; - } + padding: var(--content-padding-y) var(--content-padding-x); } .crayons-sponsorship-widget { diff --git a/app/views/articles/show.html.erb b/app/views/articles/show.html.erb index b5a651bd7..3d4c4183b 100644 --- a/app/views/articles/show.html.erb +++ b/app/views/articles/show.html.erb @@ -193,7 +193,7 @@ <% cache("article-bottom-content-#{rand(5)}-#{@article.id}-#{user_signed_in?}-#{(@organization || @user).latest_article_updated_at}", expires_in: 15.minutes) do %> <% @display_ad = DisplayAd.for_display("post_comments", user_signed_in?, @article.decorate.cached_tag_list_array) %> <% if @display_ad %> -