From 7b3b7eed6dd4ca08f62e22d83fdfcc686c5bf95e Mon Sep 17 00:00:00 2001 From: Caio SBA Date: Fri, 8 Jul 2016 10:24:38 -0300 Subject: [PATCH] Recent activities plugin improvements: show author and better display for thumbnails --- plugins/recent_activities/public/style.css | 10 +++++++++- plugins/recent_activities/views/blocks/activities.html.erb | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/recent_activities/public/style.css b/plugins/recent_activities/public/style.css index cbea430..a14dd88 100644 --- a/plugins/recent_activities/public/style.css +++ b/plugins/recent_activities/public/style.css @@ -18,7 +18,8 @@ color: #ccc; } -.recent-activities-block img { +.recent-activities-block img, +.recent-activities-block .upimg { padding: 1px; border: 1px solid #ccc; margin: 3px 3px 0 0; @@ -27,3 +28,10 @@ .recent-activities-block p:first-letter { text-transform: capitalize } + +.recent-activities-block .upimg { + width: 20px; + height: 20px; + display: inline-block; + background-size: cover; +} diff --git a/plugins/recent_activities/views/blocks/activities.html.erb b/plugins/recent_activities/views/blocks/activities.html.erb index 03900e8..d4058c2 100644 --- a/plugins/recent_activities/views/blocks/activities.html.erb +++ b/plugins/recent_activities/views/blocks/activities.html.erb @@ -5,7 +5,7 @@