diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 1ada8d1d8..3a0b73864 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2606,6 +2606,10 @@ table { margin-top: rem-calc(-48); } + .card { + border: 0; + } + h3 { &.title { @@ -2629,12 +2633,10 @@ table { } .feed-image { - background: #fafafa; display: inline-block; height: rem-calc(120); margin: $line-height / 2 0; overflow: hidden; - width: rem-calc(120); img { margin-left: rem-calc(-15); diff --git a/app/views/welcome/_feeds.html.erb b/app/views/welcome/_feeds.html.erb index a71a7dbb1..3a898d835 100644 --- a/app/views/welcome/_feeds.html.erb +++ b/app/views/welcome/_feeds.html.erb @@ -8,15 +8,15 @@ <% feed.items.each do |item| %>
-
-
- <% if feature?(:allow_images) && item.image.present? %> + <% if feature?(:allow_images) && item.image.present? %> +
+
<%= image_tag item.image_url(:thumb), alt: item.image.title.unicode_normalize %> - <% end %> +
-
-
+ <% end %> +
<%= link_to item.title, url_for(item) %>

<%= item.summary %>